Search found 3505 matches
- Fri May 02, 2014 4:16 pm
- Forum: General Discussion and Questions
- Topic: print
- Replies: 10
- Views: 11436
Re: print
Hey Paul, File the ticket :) I've been developing for so long now that I have a pretty thick hide. Not to mention that at work, everything has to be reviewed by somebody else before it lands (gets checked in). It took me 9 review cycles to get my first bug landed :o I'm also not one to take offense ...
- Fri May 02, 2014 3:34 pm
- Forum: General Discussion and Questions
- Topic: print
- Replies: 10
- Views: 11436
Re: print
And str.format is also somewhat supported. print('This is {} test'.format('a')) One place to look for examples is in the test tree. This tree contains test code which is run against python 3.3 and against MicroPython to confirm that MicroPython produces the same results. So with str.format, for exam...
- Fri May 02, 2014 3:24 pm
- Forum: MicroPython pyboard
- Topic: max current
- Replies: 1
- Views: 2512
Re: max current
Hey Boris, So, according to the datasheet, the max current that can be drawn by the chip is 150mA. This will be higher than what the chip itself can draw with no connected devices. The per pin I/O current is rated at upto 25mA, but since the total is 150 for the entire chip, you can't have very many...
- Fri May 02, 2014 3:08 pm
- Forum: General Discussion and Questions
- Topic: print
- Replies: 10
- Views: 11436
Re: print
Hi Boris,
print is there, but with the Python 3.3 syntax (so it requires parenthesis).
print is there, but with the Python 3.3 syntax (so it requires parenthesis).
Code: Select all
Micro Python build 1f85d62-dirty on 2014-05-01; NetduinoPlus2 with STM32F405RG
Type "help()" for more information.
>>> print('Hello there %s' % 'Boris')
Hello there Boris
- Thu May 01, 2014 8:14 pm
- Forum: MicroPython pyboard
- Topic: Flashing PyBoard
- Replies: 8
- Views: 9283
Re: Flashing PyBoard
The README.md has some instructions near the bottom. There is also some more detailed instructions on the STM32F407-Discovery wiki but the USB id has changed since those were written (the old USB ID was 0483:5740 and the new USB ID is f055:9800) When programming the chip, it will appear as ID 0483:d...
- Thu May 01, 2014 8:04 pm
- Forum: MicroPython pyboard
- Topic: Powering PYBv1.0 externally
- Replies: 5
- Views: 6848
Re: Powering PYBv1.0 externally
Hi Steve, The schematics for the board can be found here: https://github.com/micropython/pyboard/raw/master/PYBv10b.pdf When you plug in the USB cable, VBUS powers VIN (through D1 - a 1n5819 diode near the center right of the schematic), so you should definitely be able to provide 5V on VIN. When th...
- Thu May 01, 2014 7:31 pm
- Forum: MicroPython pyboard
- Topic: Pin outs
- Replies: 1
- Views: 2039
Re: Pin outs
This file: https://github.com/micropython/pyboard/raw/master/PYBv10b.pdf has a bunch of key information on the board itself. Page 1 - schematics of the pyboard Page 2 - shows some of the functions available for each pin Page 5 & 6 show 3D views of the board (of course if you have the real board, pre...
- Tue Apr 29, 2014 7:00 pm
- Forum: Other Boards
- Topic: Tiva-C Connected Launchpad port?
- Replies: 3
- Views: 4184
Re: Tiva-C Connected Launchpad port?
I've looked at the Tiva-C, and it looks like a pretty nice processor. I started out doing a port of MicroPython to the teensy 3.1 (which uses a FreeScale M4), and got it to the point of working, but decided to work on the STM port instead. At least until the dust settles and the target isn't moving ...
- Tue Apr 29, 2014 5:33 am
- Forum: Development of MicroPython
- Topic: Wanted: Travis CI integration
- Replies: 23
- Views: 18127
Re: Wanted: Travis CI integration
Just saw that Travis now supports Python 3.4:
http://gehrcke.de/2014/04/travis-ci-fin ... ython-3-4/
http://gehrcke.de/2014/04/travis-ci-fin ... ython-3-4/
- Sun Apr 20, 2014 12:03 am
- Forum: Development of MicroPython
- Topic: Wanted: Travis CI integration
- Replies: 23
- Views: 18127
Re: Wanted: Travis CI integration
I think that's a sensible approach, especially for testing. We could write out the comple set of configuration options in a python module that the tests could import. For the most part, I'm not sure how much information a typical running python program would need. I guess that will come up when we s...