Search found 26 matches

by Jerremy09
Mon Mar 30, 2020 12:56 pm
Forum: General Discussion and Questions
Topic: Pause While loop by IRQ
Replies: 3
Views: 310

Re: Pause While loop by IRQ

Hi, thank you for the reply. think is that during while cycle inside "Move_MR.py" the designed IRQ "Stepp_Count" is not triggered: - first IRQ is done on display by xpt2046 (works well) - second IRQ should be done by Stepp_Count - PIN25 and PIN26 are physically connected by wire Program: boot.py: Em...
by Jerremy09
Mon Mar 30, 2020 11:01 am
Forum: General Discussion and Questions
Topic: Pause While loop by IRQ
Replies: 3
Views: 310

Pause While loop by IRQ

Hello, is there a way how to pause "While loop" by IRQ signal and then continue back in while? Reason : I have an external signal connected to one of the pins (counting number of signals), this part of code is supposed to work while the time the "While loop" operates another part of code. and if Cou...
by Jerremy09
Thu Mar 12, 2020 3:24 pm
Forum: General Discussion and Questions
Topic: Global IRQ function
Replies: 2
Views: 424

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: 424

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: 621

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: 621

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: 621

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: 621

"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: 1330

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: 1330

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 ...