https://github.com/ericogr/go-display-1306-test
Tests with i2c ssd1306 displays and go language
https://github.com/ericogr/go-display-1306-test
Last synced: 11 months ago
JSON representation
Tests with i2c ssd1306 displays and go language
- Host: GitHub
- URL: https://github.com/ericogr/go-display-1306-test
- Owner: ericogr
- Created: 2024-03-23T17:54:03.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-27T01:12:16.000Z (about 2 years ago)
- Last Synced: 2025-03-13T16:45:37.250Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Display Test
**Purpose**: just test the i2c display ssd1306 128x32 with orange pi zero 3
building:
```bash
make build
```
## systemd
1. `make copy_remote`
2. loggin into the remote host: `sudo cp /tmp/display-test /usr/local/bin`
3. create the service:
```bash
echo '[Unit]
Description=Display Test
After=network.target
[Service]
ExecStart=/usr/local/bin/display-test
Restart=always
[Install]
WantedBy=multi-user.target' | sudo tee /etc/systemd/system/display_test.service >/dev/null
```
4. `sudo systemctl daemon-reload`
5. `sudo systemctl enable display_test.service`
6. `sudo systemctl start display_test.service`
7. `sudo systemctl status display_test.service`