mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
examples: changed default bus from 6 to 0 for SSD1306 examples
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
9acc752074
commit
bf7d7d1bda
@ -29,7 +29,7 @@
|
||||
#include "ssd1306.h"
|
||||
|
||||
#define DEVICE_ADDRESS 0x3C
|
||||
#define BUS_NUMBER 0x6
|
||||
#define BUS_NUMBER 0x0
|
||||
|
||||
static uint8_t intel_logo[] = {
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
|
@ -90,7 +90,7 @@ function exit()
|
||||
|
||||
// Load i2clcd module
|
||||
var lcdObj = require('jsupm_i2clcd');
|
||||
var lcd = new lcdObj.SSD1306(6, 0x3c);
|
||||
var lcd = new lcdObj.SSD1306(0, 0x3C);
|
||||
var next = 0;
|
||||
|
||||
lcd.clear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user