Added basic setup for master and certification material
This commit is contained in:
22
enable_display.yml
Normal file
22
enable_display.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
- name: Install prerequisits
|
||||
apt:
|
||||
name: git
|
||||
update_cache: true
|
||||
|
||||
- name: enable I2S Circuit
|
||||
shell: raspi-config nonint do_i2c 0
|
||||
|
||||
- name: Get Github Repo
|
||||
git:
|
||||
repo: https://github.com/UCTRONICS/U6143_ssd1306.git
|
||||
dest: /srv/U6143_ssd1306
|
||||
|
||||
- name: write to rc.local
|
||||
blockinfile:
|
||||
path: /etc/rc.local
|
||||
insertbefore: exit 0
|
||||
block: |
|
||||
cd /srv/U6143_ssd1306/C
|
||||
sudo make clean
|
||||
sudo make
|
||||
sudo ./display &
|
||||
Reference in New Issue
Block a user