54 Commits (b04d4a5b1360b73d905cd018ca0182b0d2ff4454)

Author SHA1 Message Date
Philip Potter c777b6950e stmhal: Update boot.py files to use VCP instead of CDC.
7 years ago
Damien George 675d1c9c60 ports: Remove typedef of machine_ptr_t, it's no longer needed.
7 years ago
Paul Sokolovsky 3d19adf9b3 examples/network: Split recv- and read-based HTTP servers.
7 years ago
Paul Sokolovsky eb0e3bab1e tests/machine_mem.py: Too non-portable, rework as an example for unix port.
7 years ago
Paul Sokolovsky 614deb82c7 examples/http_client*: Be sure to close socket.
7 years ago
Paul Sokolovsky 4d4cfc2ee6 examples/embedding: Add README.
7 years ago
Paul Sokolovsky 1e77e25675 examples/embedding: Example for embedding MicroPython in an app.
7 years ago
Paul Sokolovsky e3f0f31e07 examples/http_server*: Update for buffered-like streams (read line by line).
7 years ago
Paul Sokolovsky 70536212d5 examples/unix/ffi_example.py: Remove TODO, make output more clear.
7 years ago
Paul Sokolovsky ecfd8e102d examples/unix/ffi_example.py: Update for current "ffi" module API.
7 years ago
Paul Sokolovsky c2d885501f examples/network/: Use getaddrinfo() result in easy way.
7 years ago
Paul Sokolovsky 8fcfaf6f22 examples/http_server_ssl.py: HTTPS server example.
7 years ago
Paul Sokolovsky 4f2d59e82f examples/http_client_ssl.py: HTTPS client example.
7 years ago
Paul Sokolovsky ec5f8db49d examples/http_server.py: Bind to 0.0.0.0, to be accessible from other hosts.
7 years ago
Paul Sokolovsky c07a03a36d examples/http_server.py: Introduce main() function.
7 years ago
Paul Sokolovsky aa3fb7b387 examples/http_server.py: Refactor/simplify for Python 3.5.
7 years ago
Paul Sokolovsky fd2b71f972 examples/http_client.py: Introduce main() function.
7 years ago
Paul Sokolovsky a5d07c3aba examples/http_client.py: Improve CPython compatibility in stream mode.
7 years ago
Paul Sokolovsky cef073877b example/http_client.py: Remove unused code.
7 years ago
Paul Sokolovsky cf4b72bf13 examples: http_client.py, http_server.py aren't just unix, move to network/.
7 years ago
Paul Sokolovsky bae052d420 examples/unix: Rename example be importable as modules.
7 years ago
Paul Sokolovsky 9d0d6d3830 examples/accel_i2c.py: Switch to "machine" module.
7 years ago
Paul Sokolovsky a2e0d92eeb examples: Add example of I2C usage, taking PyBoard accelerometer as subject.
7 years ago
Sebastian Plamauer 91bd4e8a23 changed file paths to new names
8 years ago
Damien George 0c3955b506 examples: Update conwaylife to work with new LCD API.
8 years ago
Paul Sokolovsky 23b3b04072 unix: Rename "microsocket" module to "usocket".
8 years ago
Paul Sokolovsky a2d8f98a7e examples: Rename unix socket examples to have more precise naming (http).
8 years ago
Damien George 1d8a06406a examples: Added pins.py example script to list pin config/af.
9 years ago
Metallicow 3d5ffa8318 remove `__doc__ =` and fix tweak doc diffs
9 years ago
Damien George 517f292c8d examples, switch: Make run_loop take sequence of LED objects.
9 years ago
Metallicow 9500e98433 __doc__ switch, make importable, and easy to test
9 years ago
Metallicow f94cc975a2 Add switch test example
9 years ago
Metallicow fa82aa81c0 LED Fix
9 years ago
Damien George 3417bc2f25 py: Rename byte_code to bytecode everywhere.
9 years ago
Damien George fa2e701e23 examples, SDdatalogger: Add more comments; reduce power consumption.
9 years ago
Sebastian Plamauer 98243ccca4 deleted garbage
9 years ago
Sebastian Plamauer 96e97ed2ce created SDdatalogger example
9 years ago
Sebastian Plamauer c114565bfa updated to use new pyb.Accel() object
9 years ago
Sebastian Plamauer 3526716a5b updated to fit new acceleration and time/millis
9 years ago
Damien George 8721087661 py: Big improvements to inline assembler.
9 years ago
Damien George 71dcd51989 examples: Add example script to flash an LED using inline assembler.
9 years ago
Paul Sokolovsky 8bc3516389 ffi: Implement ffivar.get()/set() methods.
9 years ago
Paul Sokolovsky 9945f33886 Rename "rawsocket" module to "microsocket".
9 years ago
Paul Sokolovsky 809eaa2679 Add FFI module example.
9 years ago
Paul Sokolovsky 4795c58f3c sock-server.py: Use SO_REUSEADDR to avoid errors on quick restart.
9 years ago
Damien George 4461970da0 Small edits to examples to get them working again with unix/micropython.
9 years ago
ugurthemaster b94a209d1f Update conwaylife.py
9 years ago
Paul Sokolovsky d991da7263 socket-client, socket-server examples now run on both Micro- and C-Python.
9 years ago
Paul Sokolovsky e2f3e1d24a Add socket examples (simple HTTP client and server).
9 years ago
Paul Sokolovsky c8742a06ca Add dummy micropython module to enable mandel.py run with CPython.
9 years ago