Search found 168 matches
- Fri Mar 29, 2019 8:37 am
- Forum: MicroPython pyboard
- Topic: File io at a lower irq
- Replies: 0
- Views: 1913
File io at a lower irq
I have a proposed program which will perform some point to point comms between 2 pyboards running an a callback say on the rising edge of a pin. One of the boards writes data to disc. I'd like this file io to be interrupted and my callback serviced. What are the issues in having lower irq file io sa...
- Fri Mar 29, 2019 1:36 am
- Forum: micro:bit boards
- Topic: Neopixel RGBW
- Replies: 21
- Views: 16257
Re: Neopixel RGBW
The only way you can interface these led with micropython on microbit it arm thumb2 assembly or
Possibly using the spi bus in a similar way
to this . The code is for the pyboard but isn't too difficult to translate. Notice the colours are specified in gbr not rgb.
Possibly using the spi bus in a similar way
to this . The code is for the pyboard but isn't too difficult to translate. Notice the colours are specified in gbr not rgb.
- Thu Mar 28, 2019 12:20 am
- Forum: MicroPython pyboard
- Topic: logging data on SD at constant frequency
- Replies: 13
- Views: 14122
Re: logging data on SD at constant frequency
I've done some work with 2 pyboard 1.1 communicating via uart. I have acheived speeds of 2.6kHz with good consistency of period. The programs an classes can be found in the high-frequency-data-logger repository on GitHub
- Wed Mar 27, 2019 10:24 am
- Forum: MicroPython pyboard
- Topic: Why does my REPL session always have this output
- Replies: 7
- Views: 5393
Why does my REPL session always have this output
When a program terminates and I have a serial terminal open why do I always have this output. I have other micropython devices they just print Micropython version details and the >>> prompt. Type "help()" for more information. >>> AT^SQPORT? Traceback (most recent call last): File "<stdin>", line 1 ...
- Wed Mar 27, 2019 8:35 am
- Forum: micro:bit boards
- Topic: Neopixel RGBW
- Replies: 21
- Views: 16257
- Tue Mar 26, 2019 9:36 am
- Forum: micro:bit boards
- Topic: Neopixel RGBW
- Replies: 21
- Views: 16257
- Mon Mar 25, 2019 5:59 pm
- Forum: MicroPython pyboard
- Topic: Why is my timer erratic?
- Replies: 10
- Views: 5809
Re: Why is my timer erratic?
Setting the frequency to 800Hz . 25% are at the short time af 1000 micro seconds 200 rather than 1250.
- Mon Mar 25, 2019 5:15 pm
- Forum: micro:bit boards
- Topic: Neopixel RGBW
- Replies: 21
- Views: 16257
- Mon Mar 25, 2019 5:11 pm
- Forum: micro:bit boards
- Topic: Neopixel RGBW
- Replies: 21
- Views: 16257
Re: Neopixel RGBW
Regarding you looking for an IDE have you thought of Mu editor.
It has been written for microbit and other python environments.
There's a button to start REPL (read-eval-print-loop) and one to facilitate file transfer between host computer and microbit
It has been written for microbit and other python environments.
There's a button to start REPL (read-eval-print-loop) and one to facilitate file transfer between host computer and microbit
- Mon Mar 25, 2019 7:59 am
- Forum: MicroPython pyboard
- Topic: Speed of uart
- Replies: 8
- Views: 6310
Re: Speed of uart
I found spi prone to dropping packets. I wrote a little dummy program passing data between SPI(2) and SPI(1) on one pyboard.
What I'm doing the reciever is busy writing data to SD card i have a big buffer on my uart (16kb)
What I'm doing the reciever is busy writing data to SD card i have a big buffer on my uart (16kb)