Search found 234 matches

by mcauser
Mon Jan 22, 2018 12:07 pm
Forum: The micro:bit
Topic: TM1637 - Grove 4 digit display
Replies: 1
Views: 30

TM1637 - Grove 4 digit display

Ported my MicroPython TM1637 library to the micro:bit.
https://github.com/mcauser/microbit-tm1637
https://github.com/mcauser/micropython-tm1637

Code: Select all

from microbit import *
from tm1637 import TM1637
tm = TM1637(clk=pin1, dio=pin2)

tm.scroll('cool story bro')
by mcauser
Fri Jan 12, 2018 10:03 am
Forum: Programs, Libraries and Tools
Topic: [ANN] Packaging and deployment docs
Replies: 5
Views: 276

Re: [ANN] Packaging and deployment docs

Thanks pfalcon! That’s very helpful.
by mcauser
Fri Jan 12, 2018 6:24 am
Forum: ESP8266 boards
Topic: Beacon frame timestamp alt to ntp
Replies: 0
Views: 40

Beacon frame timestamp alt to ntp

An ESP8266 running in promiscuous mode, listening to beacon frames from neighbouring APs, one of the fields being a timestamp. https://en.wikipedia.org/wiki/Beacon_frame https://mrncciew.com/2014/10/08/802-11-mgmt-beacon-frame/ Could this be a sneaky way to set the RTC without requiring your ESP8266...
by mcauser
Wed Jan 10, 2018 10:48 am
Forum: Hardware Projects
Topic: Module for DHT22 temperature/humidity sensor
Replies: 13
Views: 4086

Re: Module for DHT22 temperature/humidity sensor

Please don't post the exact same message in multiple boards
by mcauser
Fri Jan 05, 2018 11:47 pm
Forum: The micro:bit
Topic: Is latest firmware v1.7.9? No it's v1.9.2
Replies: 8
Views: 315

Re: Is latest firmware v1.7.9? No it's v1.9.2

Added both firmware hex files to this gist: https://gist.github.com/mcauser/4f422ce85bc7306e0cc933cc703f957f microbit-micropython-master-09162c6.hex https://github.com/bbcmicrobit/micropython/commits/master https://github.com/bbcmicrobit/micropython/tree/09162c6b38d24f464db0fc1fbdf04658baaf9928 Micr...
by mcauser
Fri Jan 05, 2018 4:29 pm
Forum: The micro:bit
Topic: Is latest firmware v1.7.9? No it's v1.9.2
Replies: 8
Views: 315

Re: is latest firmware v1.7.9?

Tried compiling and flashing the version1 branch:
MicroPython v1.9.2-34-gd64154c73 on 2017-09-01; micro:bit with nRF51822

The older master branch:
MicroPython v1.7-9-gbe020eb on 2016-04-18; micro:bit with nRF51822
by mcauser
Fri Jan 05, 2018 4:24 pm
Forum: The micro:bit
Topic: Weird chars on paste in screen
Replies: 2
Views: 58

Re: Weird chars on paste in screen

After flashing MicroPython v1.9.2-34-gd64154c73 from the version1 branch, the problem went away!

I was using MicroPython v1.7-9-gbe020eb from the master branch.
by mcauser
Fri Jan 05, 2018 4:21 pm
Forum: The micro:bit
Topic: Trying to run main.py on boot on v1.7-9
Replies: 1
Views: 63

Re: Trying to run main.py on boot

Compiled the MicroPython firmware from source using the version1 branch . Uploaded main.py using ufs and rebooted. It works now! master branch: MicroPython v1.7-9-gbe020eb on 2016-04-18; micro:bit with nRF51822 version1 branch: MicroPython v1.9.2-34-gd64154c73 on 2017-09-01; micro:bit with nRF51822
by mcauser
Fri Jan 05, 2018 4:10 pm
Forum: The micro:bit
Topic: Trying to run main.py on boot on v1.7-9
Replies: 1
Views: 63

Trying to run main.py on boot on v1.7-9

Having difficulties getting main.py to run on boot / soft reboot. https://microbit-micropython.readthedocs.io/en/latest/tutorials/storage.html#mainly-main-py 1) I tried flashing just the MicroPython runtime, built from source (master branch), then copying across main.py using ufs . 2) I tried flashi...
by mcauser
Fri Jan 05, 2018 8:56 am
Forum: The micro:bit
Topic: Weird chars on paste in screen
Replies: 2
Views: 58

Weird chars on paste in screen

I've noticed a few times when I paste a long string in gnu screen on OSX, the characters are garbled, but still execute correctly. Sometimes it fails repeatably with small strings. $ screen /dev/tty.usbmodem1422 115200 MicroPython v1.7-9-gbe020eb on 2016-04-18; micro:bit with nRF51822 Type "help()" ...