Search found 9 matches
- Fri Jun 25, 2021 5:13 pm
- Forum: General Discussion and Questions
- Topic: Detection of a held button event
- Replies: 17
- Views: 6283
Re: Detection of a held button event
Hello, Thank you again for giving this issue so much of your time. When the set up fails the LED's I added wont change state with any input I have added. I have not yet read thought the info in the link in your last message. But, in-between our messages I built a similar simpler set up with another ...
- Thu Jun 24, 2021 7:54 pm
- Forum: General Discussion and Questions
- Topic: Detection of a held button event
- Replies: 17
- Views: 6283
Re: Detection of a held button event
I have also bypass the cap touch with tactile buttons when it's lock up and the LED's that are assocated to the relay fucntions don't change. But, the cap touch board picks it up.
- Thu Jun 24, 2021 7:07 pm
- Forum: General Discussion and Questions
- Topic: Detection of a held button event
- Replies: 17
- Views: 6283
Re: Detection of a held button event
Hi, I agree with you that the code failing seems unlikely. So, I added the led indication as another way to observe function. When it's locked up I can see the activation of the Adafruit cap touch board, which is powered thought the Pico, by way of the LED's built in. So it seems that the problem is...
- Thu Jun 24, 2021 4:56 pm
- Forum: General Discussion and Questions
- Topic: Detection of a held button event
- Replies: 17
- Views: 6283
Re: Detection of a held button event
Hello again, I am having trouble with (I assume) either uasynco, primitives or my Pico. The following code works great but only for a limited time. Like about 30 mins. from machine import Pin from primitives.pushbutton import Pushbutton import uasyncio as asyncio async def my_app(): await asyncio.sl...
- Tue Jun 08, 2021 3:38 am
- Forum: General Discussion and Questions
- Topic: Detection of a held button event
- Replies: 17
- Views: 6283
Re: Detection of a held button event
Thank you! That is what I was missing! Now that I have access to the modules I just have to learn how to use them.
- Thu Jun 03, 2021 4:43 pm
- Forum: General Discussion and Questions
- Topic: Detection of a held button event
- Replies: 17
- Views: 6283
Re: Detection of a held button event
Well I have only tried this with 'primitive' package from Peter. But here is what I am doing. I select the 'manage packages' option from the 'Tools' menu. Selecting 'Install from Requirements File', selecting the target folder, changing to 'All files' to navigating to the target py. file and opening...
- Wed Jun 02, 2021 4:49 pm
- Forum: General Discussion and Questions
- Topic: Detection of a held button event
- Replies: 17
- Views: 6283
Re: Detection of a held button event
Hi, So I may have miss interpreted your response. I down loaded the windows version of Thonny on my PC and tried the same methods as with my Pi400. I get a different error message. ' C:/Users/psiadmin/Downloads/micropython-async-master/micropython-async-master/v3/primitives/pushbutton.py) Error: pro...
- Tue Jun 01, 2021 5:50 pm
- Forum: General Discussion and Questions
- Topic: Detection of a held button event
- Replies: 17
- Views: 6283
Re: Detection of a held button event
Hi Peter, Thank you for taking the time to respond to my issue. I have a gitclone of the repository and have tried to drag the privitives folder in to the Pi Pico and have tried install it through Thonny's package manager. Drag and drop yields no perceivable result and with Thonny I get: 'Error inst...
- Mon May 31, 2021 8:33 pm
- Forum: General Discussion and Questions
- Topic: Detection of a held button event
- Replies: 17
- Views: 6283
Detection of a held button event
Hello, I am new to programming and trying to write a simple script that will change the state of a relay based on which of two touch sensors is touched for x seconds. I was able to achieve this with Python 3 and GPIOzero but I can seem to replicate it in micropython. This is the script I am trying t...