Search found 7 matches
- Sun Aug 15, 2021 11:41 am
- Forum: ESP32 boards
- Topic: Microdot cann't read local css files
- Replies: 3
- Views: 2865
Re: Microdot cann't read local css files
hey @jimmo, the method you've described worked for me as well, thanks ! However I can't make the Font Awesome working... I have saved the 'solid.min.css' file in one folder called 'src' (by the way, also where my working css style file is located) and created a handler for that. I addition, I've cop...
- Sat Apr 28, 2018 9:43 am
- Forum: Drivers for External Components
- Topic: RGB and Gesture Sensor - APDS-9960
- Replies: 16
- Views: 18341
Re: RGB and Gesture Sensor - APDS-9960
hello gcarver , thanks a lot for your good work ! could you please give me some tips to adapt the code to the ESP8266 ? I have changed the "import! line from "import pyb" to "from machine import Pin, I2C", but I am a litte bit consusef on the following part: def __init__( self, aLoc ) : '''aLoc I2C ...
- Sun Mar 04, 2018 3:07 pm
- Forum: WiPy and CC3200 boards
- Topic: Debouncing with IRQ
- Replies: 25
- Views: 148398
Re: Debouncing with IRQ
Now I see... thank you very much !
what would be the best way to break the while True loop throught this interrupt? Based on the Pin.value() or does the DebouncedSwitch object has some debounced Pin state?
Thanks a lot for you patience and guidance
what would be the best way to break the while True loop throught this interrupt? Based on the Pin.value() or does the DebouncedSwitch object has some debounced Pin state?
Thanks a lot for you patience and guidance
- Fri Mar 02, 2018 10:55 pm
- Forum: WiPy and CC3200 boards
- Topic: Debouncing with IRQ
- Replies: 25
- Views: 148398
Re: Debouncing with IRQ
@SpotlightKid I am trying to use the DebouncedSwitch to pause a loop which displays the current time in a 7-segment display, and when I execute the following code, the callback behaves as if I had pushed the button: Code: def cbButMenu(arg): print(arg, 'value') main_menu() return debMenu = Debounced...
- Wed Feb 28, 2018 8:21 pm
- Forum: Drivers for External Components
- Topic: Adafruit uRTC library for real time clock modules
- Replies: 4
- Views: 7543
Re: Adafruit uRTC library for real time clock modules
Hello, I am trying to update only one time element at a time (hour for example) using the library for DS1307 RTC, but it seems that one single element can be updated only when the "year" is part of the tuple. For example when I try: >>> rtc.datetime(urtc.datetime_tuple(year=2002)) >>> rtc.datetime()...
- Wed Feb 21, 2018 8:14 pm
- Forum: WiPy and CC3200 boards
- Topic: Debouncing with IRQ
- Replies: 25
- Views: 148398
- Mon Feb 12, 2018 9:56 pm
- Forum: WiPy and CC3200 boards
- Topic: Debouncing with IRQ
- Replies: 25
- Views: 148398
Re: Debouncing with IRQ
Hello @SpotlightKid
could you please show me how to implement your code to debounce an interrupt button set to Pin23 for example? I am pretty new at Python, as you could probably notice
Tks!
could you please show me how to implement your code to debounce an interrupt button set to Pin23 for example? I am pretty new at Python, as you could probably notice
Tks!