Search found 3821 matches
- Thu Apr 02, 2015 5:59 pm
- Forum: Hardware Projects
- Topic: projects for beginners
- Replies: 6
- Views: 8101
Re: projects for beginners
There are a bunch of getting started tutorials over here: http://docs.micropython.org/en/latest/tutorial/index.html It kind of depends on what external devices you'd like to use. Builtin to the pyboard is a switch, an accelerometer, 4 LEDS, and an sdcard. You can add any of a number of interesting d...
- Thu Apr 02, 2015 5:52 pm
- Forum: Programs, Libraries and Tools
- Topic: First steps for an interactive micropython ... IPython
- Replies: 12
- Views: 14821
Re: First steps for an interactive micropython ... IPython
Sweet.
I just started playing with IPython notebooks and was thinking along the same lines.
Are you planning on documenting how you set this up? I know I would definitely be interested in playing around with this.
I just started playing with IPython notebooks and was thinking along the same lines.
Are you planning on documenting how you set this up? I know I would definitely be interested in playing around with this.
- Thu Apr 02, 2015 5:48 pm
- Forum: General Discussion and Questions
- Topic: Python Class Question
- Replies: 1
- Views: 3549
Re: Python Class Question
First of all - please don't hijack threads - even though it was your own. Your post about Python class stuff has nothing to do with sending data over the UART, so I split it off and created a new topic. Second - the code you provided isn't even valid Python 3 code, so it won't run under micropython,...
- Wed Apr 01, 2015 1:37 am
- Forum: Development of MicroPython
- Topic: Adding new Python Commands
- Replies: 5
- Views: 5293
- Fri Mar 27, 2015 11:52 pm
- Forum: MicroPython pyboard
- Topic: Using the SD card, debugging
- Replies: 9
- Views: 8508
Re: Using the SD card, debugging
I think you need have a clear picture of RAM versus flash versus sdcard. There is only about 100K of free RAM on the pyboard. This RAM is internal to the processor. So there is no way you'll be able to fit a dozen 16K arrays. That would need at least 12 * 16K = 192K or more than twice as much RAM as...
- Fri Mar 27, 2015 2:54 pm
- Forum: Hardware Projects
- Topic: Smart gamepad
- Replies: 4
- Views: 5804
Re: Smart gamepad
I just saw a demo of a Plasma cutter, and they used a wireless XBox controller plugged into the PC as a pendant. I was thinking that would also be cool for my CNC router that I'm putting together. I know lynxmotion sells a PS2 controller that has a little breakout board for the wireless dongle: http...
- Fri Mar 27, 2015 12:15 am
- Forum: MicroPython pyboard
- Topic: Using the SD card, debugging
- Replies: 9
- Views: 8508
Re: Using the SD card, debugging
What I normally do in order to see errors in my script is that I don't use boot.py or main.py. I copy the file to the internal flash filesystem and then from the REPL, I'll do import somefile somefile.py will typically define a main() function and the last line in the somefile.py will just call it: ...
- Thu Mar 26, 2015 5:12 pm
- Forum: Development of MicroPython
- Topic: Suggested enhancement to pyb.bootloader()
- Replies: 11
- Views: 9726
Re: Suggested enhancement to pyb.bootloader()
Hi Bryan,
ok - no problem.
This was the page that I saw that mentioned OSX:
https://code.activestate.com/pypm/pyudev/
I originally though it would be linux only, and seeing OSX mentioned I thought it was worth a try.
ok - no problem.
This was the page that I saw that mentioned OSX:
https://code.activestate.com/pypm/pyudev/
I originally though it would be linux only, and seeing OSX mentioned I thought it was worth a try.
- Thu Mar 26, 2015 2:53 pm
- Forum: Development of MicroPython
- Topic: Suggested enhancement to pyb.bootloader()
- Replies: 11
- Views: 9726
Re: Suggested enhancement to pyb.bootloader()
Hey Bryan, I wrote a simple terminal program in python. You can find it over here: https://github.com/dhylands/usb-ser-mon/blob/master/usb-ser-mon.py Under linux, it detects when a USB device is disconnected and then waits for it to reappear. Apparently, pyudev, one of the key modules used, is avail...
- Thu Mar 26, 2015 7:23 am
- Forum: MicroPython pyboard
- Topic: GPIO pin usage
- Replies: 2
- Views: 3020
Re: GPIO pin usage
The pins with a white label in this diagram: http://micropython.org/resources/pybv10-pinout.jpg can all be used as GPIO.
Each pin can individually be set to be an input or an output.
I count 34 GPIO pins (12 on each side, and 10 along the bottom). One of them is also connected to the USR button.
Each pin can individually be set to be an input or an output.
I count 34 GPIO pins (12 on each side, and 10 along the bottom). One of them is also connected to the USR button.