Skip to content

Commit

Permalink
examples: changed default bus from 6 to 0 for SSD1306 examples
Browse files Browse the repository at this point in the history
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
  • Loading branch information
Propanu committed Apr 18, 2016
1 parent 9acc752 commit bf7d7d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/c++/ssd1306-oled.cxx
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion examples/javascript/oled_ssd1306.js
Expand Up @@ -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();
Expand Down

0 comments on commit bf7d7d1

Please sign in to comment.