2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2026-01-03 03:27:27 +01:00

add oled-arm

This commit is contained in:
kev
2017-05-29 11:04:06 +08:00
parent f389f1d19e
commit d8c5610696
4 changed files with 66 additions and 0 deletions

22
oled/README.md Normal file
View File

@@ -0,0 +1,22 @@
oled
====
## Demo
```
OLED Pin | Name | Remarks | RPi Pin | RPi Function
---------+------+---------+---------+--------------
1 | GND | Ground | P01-6 | GND
2 | VCC | +3.3V | P01-1 | 3V3
3 | SCL | Clock | P01-5 | GPIO 3 (SCL)
4 | SDA | Data | P01-3 | GPIO 2 (SDA)
```
```bash
# Show "hello world" on oled display module
$ cat demo.py | docker-compose run --rm oled
```
## Todo
- [ ] Implement RESTful API