Search found 10 matches
- Wed Aug 13, 2014 8:46 am
- Forum: MicroPython pyboard
- Topic: Nasty MicroUSB cables
- Replies: 9
- Views: 11320
Re: Nasty MicroUSB cables
Haven't had much time to work with this lately..... Although I'd tried different USB ports (and the cheapo hub wasn't very!) - I'd tried multiple ports on the PC (a modern machine - MSI motherboard, i7) without joy. That seems to work - connected to an old laptop (a ~7 yr old Core-2) and all seems w...
- Sun Jun 29, 2014 10:03 am
- Forum: MicroPython pyboard
- Topic: Nasty MicroUSB cables
- Replies: 9
- Views: 11320
Re: Nasty MicroUSB cables
A possible fix - flashed board with latest version of dfu file from: http://micropython.org/download/ using the Dfuse demonstration from: http://www.st.com/web/en/catalog/tools/FM147/CL1794/SC961/SS1533/PF257916?s_searchtype After a worrying few minutes where the board wouldn't come out of dfu mode ...
- Wed Jun 25, 2014 8:38 pm
- Forum: MicroPython pyboard
- Topic: Nasty MicroUSB cables
- Replies: 9
- Views: 11320
Re: Nasty MicroUSB cables
Also happens with the board attached and no activity at all (empty main.py) and no terminal connection. Trying to connect after ~5mins doesn't work without a board reset..
- Tue Jun 24, 2014 6:53 am
- Forum: MicroPython pyboard
- Topic: Nasty MicroUSB cables
- Replies: 9
- Views: 11320
Re: Nasty MicroUSB cables
Tried with different cable, port and computer. It 'appears' that the input loop of the interpreter crashes - putty giving error writing to serial port - restarting putty gives a fixed cursor, and Ctrl C etc have no effect. When running a program (main.py - Life in a loop) - the board runs happily fo...
- Mon Jun 23, 2014 6:58 am
- Forum: MicroPython pyboard
- Topic: Nasty MicroUSB cables
- Replies: 9
- Views: 11320
Re: Nasty MicroUSB cables
No - happens with a 'bare' board. It also happens with LCD skin attached and/or a servo.. I'll try another cable / usb port (on the pc rather than the hub) this evening.dhylands wrote:Do you happen to have a MicroSD card plugged in?
Certain MicroSD cards cause the micropython board to reset after 30 seconds.
- Sun Jun 22, 2014 9:51 pm
- Forum: MicroPython pyboard
- Topic: Nasty MicroUSB cables
- Replies: 9
- Views: 11320
Re: Nasty MicroUSB cables
I get a problem with the pyboard disappearing after a few minutes of not being used (ie no input - occasionally doing so while typing too). Using Putty (on Windows7) and with the board connected to a USB3 (powered) hub, putty gives "cannot write to serial port". I can open the card from Explorer - b...
- Sun Jun 22, 2014 8:54 am
- Forum: General Discussion and Questions
- Topic: LCD PySkin
- Replies: 3
- Views: 4213
Re: LCD PySkin
A tutorial has just appeared for this:
http://micropython.org/doc/tut-lcd-skin
Details of how to read the buttons too!
More good stuff!
http://micropython.org/doc/tut-lcd-skin
Details of how to read the buttons too!
More good stuff!
- Sat Jun 21, 2014 7:16 am
- Forum: General Discussion and Questions
- Topic: LCD PySkin
- Replies: 3
- Views: 4213
Re: LCD PySkin
Code for Life: Very little changed from the github source - just the lcd initialisation and the random number selection #import essential libraries import pyb # do 1 iteration of Conway's Game of Life def conway_step(): for x in range(128): # loop over x coordinates for y in range(32): # loop over y...
- Sat Jun 21, 2014 6:34 am
- Forum: General Discussion and Questions
- Topic: LCD PySkin
- Replies: 3
- Views: 4213
Re: LCD PySkin
After a while of playing: lcd = pyb.LCD("X") or lcd = pyb.LCD("Y") Is the required code - depending which end you've plugged the lcd skin into. Then using the terminal: lcd.light(1) - and the backlight was on - and in business. With a few modifications I got Conway's Life to work >>> help (pyb.LCD) ...
- Fri Jun 20, 2014 7:38 pm
- Forum: General Discussion and Questions
- Topic: LCD PySkin
- Replies: 3
- Views: 4213
LCD PySkin
Just received my micropython board and LCD pyskin - board up and running nicely (& an interesting bag of bits to play with too) So turned my attention to the LCD (first sample code I found was for Mandelbrot) - soldered some header pins and plugged in. How to get the LCD to work - lcd = pyb.LCD("wha...