PyMite update

09 Sep 2009

I have updated the PyMite cookbook page to include the recent changes to both the PyMite VM and the mbed API.  I used PyMite (subversion revision r381) which is release 08 plus a few things that will be in release 10 such as Classes and Exceptions.  I updated the mbed.py library as well.  The new mbed.py uses class and method wrappers to expose the mbed C++ classes to the Python programmer.  The classes available are: TextLCD, I2C, SPI, Serial, PwmOut, DigitalOut, DigitalIn, AnalogOut, AnalogIn.  You can access these classes from the interactive prompt and play with the pins and peripherals just like you would from the Python prompt.

The PyMite VM is part of the Python-on-a-Chip project and I am its lead developer.  The mbed is one of a handful of 8- and 32-bit microcontrollers to which the PyMite VM has been ported.

!!Dean