Search found 24 matches

by Jerremy09
Thu Mar 12, 2020 3:24 pm
Forum: General Discussion and Questions
Topic: Global IRQ function
Replies: 2
Views: 283

Re: Global IRQ function

Hello, I changed the variable in "Wait_Time.py" into "Counter_Inter". But still do not work. I also add "Print(some informaiton here)" into: 1) Count function - that one which is called by IRQ - "print("Loop: "+str(Counter))" 2) while cycle (Blink.py) - "print("While: "+str(Counter))" 3) Wait cycle ...
by Jerremy09
Wed Mar 11, 2020 4:36 pm
Forum: General Discussion and Questions
Topic: Global IRQ function
Replies: 2
Views: 283

Global IRQ function

Hello All, I would like to ask you for help with "Global Function". What I need: I need a program to react on impulse (machine.IN) from PWM (also generated by ESP32) to count impulse and when the count reaches a specific amount (like 100, 10, 32000 or different) then break while cycle in "Blink.py"....
by Jerremy09
Mon Jan 27, 2020 8:22 pm
Forum: Programs, Libraries and Tools
Topic: "machine.RTC" alarm + set irq
Replies: 7
Views: 328

Re: "machine.RTC" alarm + set irq

Hello Peter, thank you for your post. Unfortunately I think that "Why loop" cannot be used, because there is more things in program. Those daily "Jobs" meant to run on background as User will operate touch display. So point is that I would like to build something like "Windows Scheduler" - there wil...
by Jerremy09
Mon Jan 27, 2020 1:56 pm
Forum: Programs, Libraries and Tools
Topic: "machine.RTC" alarm + set irq
Replies: 7
Views: 328

Re: "machine.RTC" alarm + set irq

Hello all, thank you for reaction. I need to create system which will be doing some function in scheduled way. Those functions are external modules (created by me). So for example, I would like to do these kind of things: 1) every 1 hour read GPRS signal - run external module 2) every 1 hour read Wi...
by Jerremy09
Tue Jan 21, 2020 8:51 pm
Forum: Programs, Libraries and Tools
Topic: "machine.RTC" alarm + set irq
Replies: 7
Views: 328

Re: "machine.RTC" alarm + set irq

Hello,

thank you for answer. Unfortuantelly I didnt want to hear this, never the less, is there a way to have something similar to give me at least similar result?

Dont you know for which type of board the those RTC functions are available?

Thank you
by Jerremy09
Tue Jan 21, 2020 6:45 pm
Forum: Programs, Libraries and Tools
Topic: "machine.RTC" alarm + set irq
Replies: 7
Views: 328

"machine.RTC" alarm + set irq

Hello All, from my unknown reason I cannot set time based "irq" function. I red in documentaiton: "http://docs.micropython.org/en/latest/library/machine.RTC.html" that "Create an irq object triggered by a real time clock alarm.". so I tried to set allarm in boot.py, but always receive this error in ...
by Jerremy09
Tue Jan 21, 2020 6:06 pm
Forum: General Discussion and Questions
Topic: Micropython Language for VS Code
Replies: 6
Views: 953

Re: Micropython Language for VS Code

Hi all, thank you for your post, I will try the "Josverl" and "Braden" ways. Main point was to get to VSCode something which is not going to lint code like "import machine" ... (so micropython internals at all). I do understand to the fact that locally created function stored in another .py file can...
by Jerremy09
Tue Jan 21, 2020 5:44 pm
Forum: General Discussion and Questions
Topic: Micropython Language for VS Code
Replies: 6
Views: 953

Re: Micropython Language for VS Code

Hi klindber, I use "PyMakr" and I can say that Im very sattisfied with it. It works greate if you want to upload whole project to board (currently I have 62 files and it is uploaded with one click). I use "Lolin D32 Pro V2" and PYMAKR do not have any issues to find it. here is my details of VS Code ...
by Jerremy09
Mon Jan 20, 2020 5:13 pm
Forum: ESP32 boards
Topic: IQR pin On "Lolin TFT 2.4" with
Replies: 7
Views: 672

Re: IQR pin On "Lolin TFT 2.4" with

Hello Roberthh, I tried: 1 )spi = machine.SPI(1, baudrate=2000000, polarity=0, phase=0, miso=machine.Pin(19), mosi=machine.Pin(23), sck=machine.Pin(18)) - same issue 2) spi = machine.SPI(1, baudrate=2000000, polarity=0, phase= 1 , miso=machine.Pin(19), mosi=machine.Pin(23), sck=machine.Pin(18)) - di...
by Jerremy09
Mon Jan 20, 2020 8:03 am
Forum: ESP32 boards
Topic: IQR pin On "Lolin TFT 2.4" with
Replies: 7
Views: 672

Re: IQR pin On "Lolin TFT 2.4" with

Hello Roberthh,

I even tried to add a one line code into "main.py" to display one pixel on display (same color as bacground on address X=1, Y=1), this also didnt helped. I hoped that recuring main.py will trigger "CLK" signal.

Jan