I've updated shell.py to work with the latest micropython filesystem changes (/flash and /sd).
Let me know if you run into any issues.
Search found 3821 matches
- Tue Aug 12, 2014 6:56 am
- Forum: Programs, Libraries and Tools
- Topic: A simple shell for pyboard
- Replies: 45
- Views: 48092
- Mon Aug 11, 2014 8:16 pm
- Forum: Development of MicroPython
- Topic: Pin assignment explained
- Replies: 10
- Views: 13181
Re: Pin assignment explained
make-pins.py is run as part of the build process. It takes several files as input: stmhal/boards/stm32F4xx_af.csv, stmhal/boards/stm32f4xx_prefix.c, and stmhal/boards/BOARDNAME/pins.csv and it generates the following output files: build-BOARDNAME/pins_BOARDNAME.c, build-BOARDNAME/genhdr/pins.h, buil...
- Mon Aug 11, 2014 3:10 pm
- Forum: Development of MicroPython
- Topic: I2C Working
- Replies: 8
- Views: 10069
Re: I2C Working
I filed the following issue: https://github.com/micropython/micropython/issues/795
- Mon Aug 11, 2014 6:54 am
- Forum: General Discussion and Questions
- Topic: Reading a temperature value from a TMP36 sensor
- Replies: 16
- Views: 19088
Re: Reading a temperature value from a TMP36 sensor
OK, I just tried to sit down with the datasheet and figure out how all this stuff reconciles, and it seems like what I suspected is true, must be true. Please correct me if this is incorrect: 25 degrees Celsius on this particular sensor is equal to 750mV and it has a scale factor of 10mV / degree C...
- Mon Aug 11, 2014 6:43 am
- Forum: General Discussion and Questions
- Topic: Trying to use timers to avoid a blocking loop
- Replies: 15
- Views: 29844
Re: Trying to use timers to avoid a blocking loop
Any attempt to allocate an object from within the timer callback will cause a memory error. The statement x = 0.5 will allocate memory for a float, which can't be done from inside an ISR. I wrote up something using threads from http://forum.micropython.org/viewtopic.php?f=2&t=15&hilit=generator#p208...
- Mon Aug 11, 2014 5:11 am
- Forum: General Discussion and Questions
- Topic: Reading a temperature value from a TMP36 sensor
- Replies: 16
- Views: 19088
Re: Reading a temperature value from a TMP36 sensor
Great, that is helpful to know, but can I still obviously don't quite have a handle on it because I still have this stupid question: why on the arduino do I have to calculate with 5 volts. Is it just a matter of the the adc converting the stir ee voltage range based on a different reference voltage...
- Sun Aug 10, 2014 8:46 am
- Forum: Development of MicroPython
- Topic: I2C Working
- Replies: 8
- Views: 10069
Re: I2C Working
I'd guess that this has something to do with Unicode support and someplace using chars where it should be using bytes.
- Sat Aug 09, 2014 4:10 am
- Forum: MicroPython pyboard
- Topic: Header Sockets
- Replies: 13
- Views: 16244
Re: Header Sockets
Thanks Dave, that helps a lot. The pictures make it perfectly clear. I've been working with the Raspberry Pi quite a bit lately and have been using Adafruit's cobbler ( http://www.adafruit.com/products/914 ) breakout cable for making connections to the GPIO from a breadboard and it has kind of has ...
- Fri Aug 08, 2014 7:29 pm
- Forum: General Discussion and Questions
- Topic: Micropython and XBEE
- Replies: 9
- Views: 9975
Re: Micropython and XBEE
I've helped quite a number of people who are relatively new to microcontrollers who connect up all of the "important" signals and forget about ground, which is the only reason I mentioned it. For people who are famlliar with electronics, its fairly obvious, but it trip you up if you're new.
- Fri Aug 08, 2014 4:02 pm
- Forum: MicroPython pyboard
- Topic: Header Sockets
- Replies: 13
- Views: 16244
Re: Header Sockets
This photo shows how you should install the headers in order to use one of the "skins" with the MicroPyton board. Personally, I prefer using male pins when I'm developing (easier to clip to a logic analyzer probe onto), so I wired up one of my micropython boards like this . When my LCD skin arrives...