Just setup a new 3.9 board, using oled. Verified SCL to SCL, SDA to SDA, powered by SD power. Verified 3.3V at the proffie pads and at the oled. When powered up… oled stays blank. Not sure what else to troubleshoot - I’ve tried swapping the display, nothing.
Do you have ENABLE_SSD1306 in your config file?
Yup.
#ifdef CONFIG_TOP
#include "proffieboard_config.h"
#define NUM_BLADES 2
#define NUM_BUTTONS 2
#define VOLUME 1000
const unsigned int maxLedsPerStrip = 528;
#define CLASH_THRESHOLD_G 1.0
#define IDLE_OFF_TIME 60 * 2 * 1000
#define ENABLE_AUDIO
#define ENABLE_MOTION
#define ENABLE_WS2811
#define ENABLE_SD
#define ENABLE_SERIAL
#define ENABLE_SSD1306
#define SHARED_POWER_PINS
#define SAVE_VOLUME
#define SAVE_PRESET
#endif
{ "GREEN", "tracks/silent.wav",
StylePtr<Green>(),
StylePtr<InOutHelper<Green,300,800>>(),
"Green"},
};
BladeConfig blades[] = {
//{ 0,
// WS281XBladePtr<150, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3, bladePowerPin4, bladePowerPin5>>(),
// CONFIGARRAY(blade) },
{ 0,
SubBlade(0, 15, WS281XBladePtr<528, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin5>>()),
SubBlade(16, 527, NULL ),
CONFIGARRAY(blade) },
};
#endif
#ifdef CONFIG_BUTTONS
Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
Button AuxButton(BUTTON_AUX, auxPin, "aux");
#endif
hmm, for some reason it’s working now. I removed shared power pins cause it’s not needed and upped the idle to 20… not sure how that would affect things but it seems ok. very strange.
GND on the display is just hooked up to GND/Batt-, right? (Not one of the LED* pads?)
Yeah it was on the sd power and gnd. Whatever was wrong is not now. Considering the complexity of this build and this was my one quirk, I’ll take it!