Commit Graph

6 Commits

Author SHA1 Message Date
gohai 3ddf2d773c I/O: Remove casts to byte from example sketches 2015-10-12 16:59:04 +02:00
gohai edf411e566 I/O: Make I2C & SPI accept ints for write()
This makes everyone's sketches a bit lighter, since it is not longer necessary to explicitly cast to byte or call byte(). Instead, we throw an exception if the value does not fit into the byte.
2015-10-12 16:56:01 +02:00
gohai bc02e4b7b6 I/O: Add examples 2015-10-12 00:11:55 +02:00
gohai 59e05393a5 I/O: Improve messaging when user doesn't have permissions to write to LEDs
This is e.g. the case with the newly released Raspbian 2015-09-24.
2015-10-12 00:06:39 +02:00
gohai eb240c6192 I/O: Don't throw an exception when trying to release unused pins 2015-10-12 00:05:34 +02:00
gohai fb6437f307 Add I/O library for Raspberry Pi and similar Linux-based micro computers 2015-10-11 11:50:17 +02:00