Search found 2754 matches
- Thu Jul 22, 2021 4:22 am
- Forum: ESP32 boards
- Topic: PIR interrupt and send
- Replies: 3
- Views: 1565
Re: PIR interrupt and send
then just stays off. I think the problem is that the main loop is constantly checking the "motion" flag, but if the flag is set then it re-sets "motion_start" to the current time. So once motion is set to True in the interrupt, then it will never "time out" because "motion_start" is always being up...
- Thu Jul 22, 2021 4:13 am
- Forum: General Discussion and Questions
- Topic: Old files persisting/will not delete
- Replies: 4
- Views: 2255
Re: Old files persisting/will not delete
Problem solved, but I am frustrated that this can even be an issue. Using D1 mini pro, the problematic class was inside a folder, if it makes a difference. I created an account on the forum just to up your issue that still exists. Thanks for reporting. I'd really like to get to the bottom of this i...
- Wed Jul 21, 2021 11:59 pm
- Forum: Programs, Libraries and Tools
- Topic: Cpython ble api android l2cap kivy
- Replies: 1
- Views: 1338
Re: Cpython ble api android l2cap kivy
The only thing I've seen that's close is Bleak -- https://github.com/hbldh/bleak
- Wed Jul 21, 2021 11:57 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: How send string from PC to RP2040?
- Replies: 6
- Views: 6085
Re: How send string from PC to RP2040?
How is the UART connected to your PC? Do you have a separate UART-USB adaptor (e.g. FTDI) also wired up?
- Wed Jul 21, 2021 11:55 pm
- Forum: Programs, Libraries and Tools
- Topic: Timers - several timers + several run per day
- Replies: 3
- Views: 1634
Re: Timers - several timers + several run per day
I think I figured it out (as test example) Yep, that looks good. How to terminate "run_forever()"? The simple answer is that "you don't"... i.e. the only reason to terminate run_forever is when your program is stopped (i.e. by you hitting Ctrl-C or resetting the board). Your entire program should r...
- Wed Jul 21, 2021 11:50 pm
- Forum: MicroPython pyboard
- Topic: PDM support on Micropython
- Replies: 6
- Views: 7829
Re: PDM support on Micropython
FYI Mike's PR was merged and the I2S functionality is now available in the nightly builds (and will be in 1.17)
- Wed Jul 21, 2021 7:37 am
- Forum: Programs, Libraries and Tools
- Topic: Timers - several timers + several run per day
- Replies: 3
- Views: 1634
Re: Timers - several timers + several run per day
1) Cannot it be that the Scheduled period is simply too much? (I read that in Firmware 1.16 - there is a limitation to the number of timers = 4 (0 - 3)). (I can send the code - but it is too long ) Possibly, I would need to check. But in general the timers make more sense when you need low-latency ...
- Wed Jul 21, 2021 1:16 am
- Forum: Raspberry Pi microcontroller boards
- Topic: Storing data into RP2040 flash
- Replies: 15
- Views: 14691
Re: Storing data into RP2040 flash
The board I'm using is the Adafruit Feather RP2040, and because it has the wrong flash size definition, I had to change the mpconfigboard.h, changing MICROPY_HW_FLASH_STORAGE_BYTES and redefining PICO_FLASH_SIZE_BYTES. However, I can't find where the PICO_FLASH_SIZE_BYTES is normally defined. Ahh I...
- Tue Jul 20, 2021 1:11 am
- Forum: Other Boards
- Topic: [NUCLEO-H743ZI] - `RAM_D2' overflowed by 805,289,984 bytes error - Please help!
- Replies: 6
- Views: 3829
Re: [NUCLEO-H743ZI] - `RAM_D2' overflowed by 805,289,984 bytes error - Please help!
6.3 was first released in December 2016... I would definitely want to rule that out before trying anything else.
- Tue Jul 20, 2021 1:09 am
- Forum: Raspberry Pi microcontroller boards
- Topic: Storing data into RP2040 flash
- Replies: 15
- Views: 14691
Re: Storing data into RP2040 flash
In case I follow this, how do I make sure to put my memory block aside and make sure the filesystem is not expecting to use it? The way the filesystem works is: - In ports/rp2/boards/PICO/mpconfigboard.h we define MICROPY_HW_FLASH_STORAGE_BYTES which is how many bytes of flash to reserve for the "u...