Search found 5 matches

by wjdp
Wed Oct 22, 2014 6:39 pm
Forum: General Discussion and Questions
Topic: Basic LCD driver class (HD44780)
Replies: 4
Views: 10988

Basic LCD driver class (HD44780)

I've put together a very simple class to get a 4-bit LCD up and running quickly. Code based on this RPi version http://www.raspberrypi-spy.co.uk/2012/07/16x2-lcd-module-control-using-python/. Usage lcd = HD44780() # Pins 0-5 as above lcd.PINS = ['Y1','Y2','Y3','Y4','Y5','Y6'] # Initialise display lc...
by wjdp
Thu Oct 09, 2014 11:38 pm
Forum: General Discussion and Questions
Topic: Serial communication with pyb
Replies: 3
Views: 5029

Re: Serial communication with pyb

Cheers, having a look now. Is there a list of supported modules somewhere?
by wjdp
Thu Oct 09, 2014 10:29 pm
Forum: General Discussion and Questions
Topic: Serial communication with pyb
Replies: 3
Views: 5029

Serial communication with pyb

I'm working on a project that will involve the pyboard communicating with another device running python over serial (USB or UART). I would like to serialise objects and send and receive them, pickle is not implemented for micropython yet. What options do I have?

Cheers,
Will
by wjdp
Thu Oct 09, 2014 6:38 pm
Forum: MicroPython pyboard
Topic: Pins
Replies: 5
Views: 6897

Re: Pins

By the time this got aproved I found answer to my own question. On the schematics there is a basic outline of the pins: http://micropython.org/static/doc/PYBv10b.pdf Might be nice to get a wiki page going with friendly descriptions of what you can do with each pin. I'm a software guy and getting my ...
by wjdp
Thu Oct 09, 2014 2:51 pm
Forum: MicroPython pyboard
Topic: Pins
Replies: 5
Views: 6897

Pins

I've had a brief scourge around but have come up empty, anyone know of a nice list of the board's pins and capabilities?