Search found 168 matches
- Sun Apr 14, 2019 8:27 am
- Forum: MicroPython pyboard
- Topic: Strange behavior with Pyboard and ssd1306 display over I2C
- Replies: 4
- Views: 3787
Re: Strange behavior with Pyboard and ssd1306 display over I2C
Hi I have an ssd1306 128x32 screen and all the programs you have given work. I have added the missing line from snippet 1 `return display` are you using this ssd1306.py I downloaded it ages ago from another repo but it appears to have been accepted into the micropython repo. This is the version i ha...
- Sun Apr 07, 2019 8:08 am
- Forum: MicroPython pyboard
- Topic: PyB-to-PyB using I2C?
- Replies: 24
- Views: 19830
Re: PyB-to-PyB using I2C?
I think @pythoncoder created an i2c to i2c comms with uasyncio and an extra wire to wake each other up. It looked interesting but i didn't have multiple devices at the time to test it. Search his repositories on github
- Fri Apr 05, 2019 9:01 am
- Forum: MicroPython pyboard
- Topic: VMWARE Ubuntu 18 - Cannot Recognise PYBOARD
- Replies: 3
- Views: 2293
Re: Ubuntu 18 - Cannot Recognise PYBOARD
Can you interact via screen or what ever serial terminal you use
- Tue Apr 02, 2019 8:45 am
- Forum: micro:bit boards
- Topic: What are the overheads when switching to arm thumb assemby functions
- Replies: 2
- Views: 3275
Re: What are the overheads when switching to arm thumb assemby functions
I don't think it's possible/practical to interact with a ds18b20 on a microbit. The one wire protocol used in this DHT11 is custom. The comms for the ds18b20 is more complex. In the rest of micropython there's a library written in high level language. The microbit is a small device my first attempt ...
- Mon Apr 01, 2019 8:20 am
- Forum: micro:bit boards
- Topic: Can a microbit detect a host computer
- Replies: 3
- Views: 4630
Re: Can a microbit detect a host computer
I was looking at some pyboard docs. There is a function in the pyb version of micropython. I'm going to raise a feature request
- Mon Apr 01, 2019 8:14 am
- Forum: MicroPython pyboard
- Topic: How many adc pins can I use?
- Replies: 1
- Views: 1670
Re: How many adc pins can I use?
Theres physically 3 adc chips covering 16 pins. You can use all 16 as far as i know. I have configured them all for use in a program i was developing and testing.
- Sun Mar 31, 2019 4:57 am
- Forum: micro:bit boards
- Topic: Neopixel RGBW
- Replies: 21
- Views: 15956
Re: Neopixel RGBW
Some of it was my bad. I had missed the call to `main()` from my python script.
Then microbit spi modes aren't as documented.
Trying other modes i get a valid response, but it's not glitch free. Especially when blanking all pixels
Then microbit spi modes aren't as documented.
Trying other modes i get a valid response, but it's not glitch free. Especially when blanking all pixels
- Sat Mar 30, 2019 7:46 am
- Forum: micro:bit boards
- Topic: Neopixel RGBW
- Replies: 21
- Views: 15956
Re: Neopixel RGBW
Well i think spi on microbit may be buggy. I have destroyed the code @roberthh gave me and i can make my pyboard light the pixels. I have a microbit version it does nothing. I don't have any spi devices to test my microbit. It's not the wiring as i can operate the pixel with neopixel.NeoPixel(pin15,...
- Fri Mar 29, 2019 9:14 am
- Forum: micro:bit boards
- Topic: Neopixel RGBW
- Replies: 21
- Views: 15956
Re: Neopixel RGBW
Just done some preparation and read the docs on the bus. Microbit spi only supports 8 bits that code requires 32 bits. I think it's a none starter.
- Fri Mar 29, 2019 9:07 am
- Forum: micro:bit boards
- Topic: Neopixel RGBW
- Replies: 21
- Views: 15956
Re: Neopixel RGBW
I tried that code on the pyboard and it worked ok. I may have added a `machine.disable_irq()` / `machine.enable_irq()` around the actual send. I'll give it a go on microbit later and post my results