In another thread I was diagnosing the display showing the wrong colors. I tried to make a smaller/simple sketch to diagnose the problem and uploaded this to the Arduino:
Code: Select all
#include <SPI.h>
#include <Adafruit_GFX.h> // Core graphics library
#include <Adafruit_EPD.h>
#include <Fonts/FreeSans12pt7b.h>
#define SRAM_CS 8
#define EPD_CS 10
#define EPD_DC 9
#define EPD_RESET -1
#define EPD_BUSY -1
Adafruit_IL91874 gfx(264, 176 ,EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY);
void setup() {
// put your setup code here, to run once:
gfx.setTextColor(EPD_BLACK);
gfx.powerUp();
gfx.clearBuffer();
gfx.setTextWrap(true);
gfx.setCursor(10,60);
gfx.setFont(&FreeSans12pt7b);
gfx.print("Testing for Red vs Black");
gfx.display();
}
void loop() {
// put your main code here, to run repeatedly:
}
After uploading the sketch to the Arduino it became unrecognized by windows and the com port doesn't appear in the Arduino IDE. Coincidentally the issue I had with the guide was fixed by MakerMelissa right after I did this and I'd like to get the working weather station up and running if it's possible. Google makes it sound like I need to buy another Arduino and a few small electronic pieces to fix it, but I'm hoping I can get it working with what I have.
Edit: Wanted to add some info after reading other threads. The power and L/RX lights come on on restart and the power light stays on, so I believe the unit it still functional.