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:
22
oled/README.md
Normal file
22
oled/README.md
Normal 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
|
||||
Reference in New Issue
Block a user