From 518db760e2dbcfd0bf71ff3123e10f8a5d9140f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 1 Feb 2017 17:45:45 +0100 Subject: Set real i2c device on turris --- src/turris-lcd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/turris-lcd.cpp') diff --git a/src/turris-lcd.cpp b/src/turris-lcd.cpp index d9509e0..034fc94 100644 --- a/src/turris-lcd.cpp +++ b/src/turris-lcd.cpp @@ -5,7 +5,7 @@ using namespace std; int main(int argc, char *argv[]) { // Initialize LCD - LiquidCrystal_I2C lcd("/dev/i2c-2", 0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); + LiquidCrystal_I2C lcd("/dev/i2c-7", 0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); lcd.begin(20, 4); lcd.on(); -- cgit v1.2.3