Added I2C definitions

This commit is contained in:
Phil Howard 2016-10-07 23:05:09 +01:00
parent 4c6d0b9b39
commit bc35748ef6
2 changed files with 11 additions and 11 deletions

View File

@ -40,6 +40,13 @@ pin:
name: LCD Reset name: LCD Reset
mode: output mode: output
active: low active: low
i2c:
'0x54':
name: Backlight
device: sn3218
'0x2c':
name: Cap Touch
device: cap1166
--> -->
#Display-o-Tron HAT #Display-o-Tron HAT

View File

@ -53,17 +53,10 @@ pin:
active: high active: high
'23': '23':
mode: spi mode: spi
install: i2c:
'devices': '0x54':
- 'i2c' name: Backlight
- 'spi' device: sn3218
'apt':
- 'python-smbus'
- 'python3-smbus'
- 'python-dev'
- 'python3-dev'
'python':
- 'dot3k'
--> -->
#Display-o-Tron 3000 #Display-o-Tron 3000