summaryrefslogtreecommitdiffstatshomepage
path: root/examples
Commit message (Collapse)AuthorAge
* changed file paths to new namesSebastian Plamauer2014-10-25
|
* examples: Update conwaylife to work with new LCD API.Damien George2014-10-19
|
* unix: Rename "microsocket" module to "usocket".Paul Sokolovsky2014-10-09
| | | | | | Per new conventions, we'd like to consistently use "u*" naming conventions for modules which don't offer complete CPython compatibility, while offer subset or similar API.
* examples: Rename unix socket examples to have more precise naming (http).Paul Sokolovsky2014-10-09
|
* examples: Added pins.py example script to list pin config/af.Damien George2014-08-24
| | | | Script is due to Dave Hylands.
* remove `__doc__ =` and fix tweak doc diffsMetallicow2014-06-03
|
* examples, switch: Make run_loop take sequence of LED objects.Damien George2014-06-01
|
* __doc__ switch, make importable, and easy to testMetallicow2014-06-01
|
* Add switch test exampleMetallicow2014-05-31
|
* LED FixMetallicow2014-05-31
|
* py: Rename byte_code to bytecode everywhere.Damien George2014-05-10
| | | | bytecode is the more widely used. See issue #590.
* examples, SDdatalogger: Add more comments; reduce power consumption.Damien George2014-05-05
|
* deleted garbageSebastian Plamauer2014-05-04
|
* created SDdatalogger exampleSebastian Plamauer2014-05-04
|
* updated to use new pyb.Accel() objectSebastian Plamauer2014-05-04
|
* updated to fit new acceleration and time/millisSebastian Plamauer2014-05-04
| | | | Changed pyb.accel() and pyb.time() to the new pyb.Accel() object and pyb.millis() function. Also shortened the loop so the writing is finished before the USB connection messes things up.
* py: Big improvements to inline assembler.Damien George2014-04-13
| | | | | | | | | Improved the Thumb assembler back end. Added many more Thumb instructions to the inline assembler. Improved parsing of assembler instructions and arguments. Assembler functions can now be passed the address of any object that supports the buffer protocol (to get the address of the buffer). Added an example of how to sum numbers from an array in assembler.
* examples: Add example script to flash an LED using inline assembler.Damien George2014-04-12
|
* ffi: Implement ffivar.get()/set() methods.Paul Sokolovsky2014-02-14
| | | | | Done by introducing another factored out helper API in binary.c. This API can be reused also by array and struct modules.
* Rename "rawsocket" module to "microsocket".Paul Sokolovsky2014-02-08
| | | | | | | It's no longer intended to provide just "raw" socket interface, may include some convenience methods for compatibility with CPython socket - but anyway just minimal set required to deal with socket client and servers, not wider network functionality.
* Add FFI module example.Paul Sokolovsky2014-01-29
|
* sock-server.py: Use SO_REUSEADDR to avoid errors on quick restart.Paul Sokolovsky2014-01-26
|
* Small edits to examples to get them working again with unix/micropython.Damien George2014-01-24
|
* Update conwaylife.pyugurthemaster2014-01-24
| | | Import statements have been moved to the top of the file.
* socket-client, socket-server examples now run on both Micro- and C-Python.Paul Sokolovsky2014-01-20
|
* Add socket examples (simple HTTP client and server).Paul Sokolovsky2014-01-19
|
* Add dummy micropython module to enable mandel.py run with CPython.Paul Sokolovsky2014-01-16
|
* conwaylife.py: Give people chance to enjoy the show.Paul Sokolovsky2014-01-16
| | | | Delay between frames; run more generations.
* CPython pyb.py placeholder: Implement delay().Paul Sokolovsky2014-01-16
|
* Add some example scripts for pyboard (some can run on PC).Damien George2014-01-07
|
* py: Fix up number operations and coercion.Damien George2014-01-06