Skip to content

Commit

Permalink
adding some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sheaivey committed Aug 30, 2015
1 parent 2380c6a commit c5eb172
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/rx5808-pro-diversity-oled/rx5808-pro-diversity-oled.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* Refactored and GUI reworked by Marko Hoepken
* Universal version my Marko Hoepken
* Diversity Receiver Mode and GUI improvements by Shea Ivey
* OLED Version by Shea Ivey
The MIT License (MIT)
Expand Down Expand Up @@ -45,7 +46,7 @@ Adafruit_SSD1306 display(OLED_RESET);

// Feature Togglels
//#define DEBUG
//#define USE_DIVERSITY
#define USE_DIVERSITY


#define spiDataPin 10
Expand Down Expand Up @@ -221,7 +222,8 @@ uint16_t rssi_setup_run=0;
// SETUP ----------------------------------------------------------------------------
void setup()
{
// by default, we'll generate the high voltage from the 3.3v line internally! (neat!)
// Set the address of your OLED Display.
// 128x64 ONLY!!
display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // initialize with the I2C addr 0x3D (for the 128x64)
// init done
display.clearDisplay(); // clears the screen and buffer
Expand Down

0 comments on commit c5eb172

Please sign in to comment.