Ok, looking at the display it only shows me how to load an image when the unit restarts.
example:
Step 1. Copy the file "lily128.bmp" from the Adafruit_SSD1351_OLED\examples\bmp folder to the root directory of your micro-SD card.
Step 2. Insert the micro SD card into the slot on the back of the SSD1351 breakout board.
Step 3. Select "Examples->Adafruit_SSD1351_OLED->bmp" and upload it to your Arduino.
Result: When the Arduino restarts, you should see the flower as below!
It dosent tell me how to make a pin activate a image from the R3
In the Example for the pins.. I assume the following..
int ledPin = 13; // LED connected to digital pin 13
int inPi = 1; // LCD connected for Traction Control On
int inPi = 2; // LCD connected for Low Gas
int inPi = 3; // LCD connected for NOS Active
int inPi = 4; // LCD connected for Meth Active
int inPi = 5; // LCD connected for NOS and Meth Active
int inPi = 6; // LCD connected for Other
void setup()
{
pinMode(ledPin, OUTPUT); // sets the digital pin 13 as output
pinMode(inPin, INPUT); // sets the digital pins 1-6 as input
void loop()
{
val = digitalRead(inPin); // read the input pin
icon 1 = icon1.bmp
icon 2 = icon2.bmp
icon 3 = icon3.bmp
icon 4 = icon4.bmp
icon 5 = icon5.bmp
icon 6 = icon6.bmp
If inPin 1 = high then digitalWrite(ledPin, icon1.bmp)
If inPin 1 = high and inPin 2 = low and inPin 3 = low and inPin 4 = low and inPin 5 = low and Inpin 6 = low then drawBitmap(icon1.bmp)
If inPin 1 = high and inPin 2 = high and inPin 3 = low and inPin 4 = low and inPin 5 = low and Inpin 6 = low then drawBitmap(icon1.bmp)
If inPin 1 = high and inPin 2 = high and inPin 3 = high and inPin 4 = low and inPin 5 = low and Inpin 6 = low then drawBitmap(icon1.bmp)
If inPin 1 = high and inPin 2 = high and inPin 3 = high and inPin 4 = high and inPin 5 = low and Inpin 6 = low then drawBitmap(icon1.bmp)
If inPin 1 = high and inPin 2 = high and inPin 3 = high and inPin 4 = high and inPin 5 = high and Inpin 6 = low then drawBitmap(icon1.bmp)
If inPin 1 = high and inPin 2 = high and inPin 3 = high and inPin 4 = high and inPin 5 = high and Inpin 6 = high then drawBitmap(icon1.bmp)
If inPin 2 = high then digitalWrite(ledPin, icon2.bmp)
If inPin 2 = high and inPin 1 = low and inPin 3 = low and inPin 4 = low and inPin 5 = low and Inpin 6 = low then drawBitmap(icon2.bmp)
If inPin 2 = high and inPin 1 = high and inPin 3 = low and inPin 4 = low and inPin 5 = low and Inpin 6 = low then drawBitmap(icon2.bmp)
If inPin 2 = high and inPin 1 = high and inPin 3 = high and inPin 4 = low and inPin 5 = low and Inpin 6 = low then drawBitmap(icon2.bmp)
If inPin 2 = high and inPin 1 = high and inPin 3 = high and inPin 4 = high and inPin 5 = low and Inpin 6 = low then drawBitmap(icon2.bmp)
If inPin 2 = high and inPin 1 = high and inPin 3 = high and inPin 4 = high and inPin 5 = high and Inpin 6 = low then drawBitmap(icon2.bmp)
If inPin 2 = high and inPin 1 = high and inPin 3 = high and inPin 4 = high and inPin 5 = high and Inpin 6 = high then drawBitmap(icon2.bmp)
//Meth-NOS//
If inPin 3 = high then drawBitmap(icon3.bmp)
If inPin 4 = high then drawBitmap(icon4.bmp)
If inPin 3 = high and inPin 4 = high then drawBitmap(icon5.bmp)
///not used///
If inPin 5 = high then drawBitmap(blank.bmp)
If inPin 6 = high then drawBitmap(blank.bmp)
}
I need help with the code..