Cannot compile ST7565 LCD test program, Teensy 3.0 Beta10 Software, win7

Status
Not open for further replies.
Hello Everybody. I am just getting started with working on my project. I am using the Teensy 3.0 and after I got the serial_install and Beta10 softare installed and connected up, the next step was to get the display working. I am trying to use the ST7565 LCD http://www.adafruit.com/products/250 but cannot get the the test program, which comes with the library, running.

I downloaded the Teensy 3.0 Beta10 software from http://forum.pjrc.com/threads/14535-Teensy-3-0-Beta10-Software and am using Windows 7 pro. I have already successfully uploaded a modified blinking LED program to the Teensy 3.0, connecting and uploading to the Teensy 3.0 isn't an issue (for now, at least ha).

First, I downloaded the ST7565 LCD library from adafruit's tutorial page https://github.com/adafruit/ST7565-LCD and extracted the ST7565 library folder (folder name = "ST7565") to the libraries folder of which the main Arduino IDE executable is in one of the parent folders, here is the path: "C:\arduino-1.0.3\libraries\ST7565" and the test program showed up in the File menu (File-> Examples-> ST7564-> st7565lcd ). After clicking the "verify" button in Arduino IDE and I get an error (I will post pic).

Next, I thought maybe I did something wrong when "installing" the library since I did nothing more than extract the files and what I found is that I guess you're supposed to put the library folder in the Arduino folder in "my documents" and so I extracted the ST7565 stuffs to "C:\Users\jscheiman\Documents\Arduino\libraries\ST7565" opened the test program and got the same error again (see pic below).
ST7565_teensy3_beta10_error_better_pic.jpg

It seems the problem is something to do with the constructor for the ST7565 LCD object? I looked through the .h and .cpp files and couldn't make too much sense of the contructor functions, I'm not too keen on the stuff with all of those colons and class stuffs, yet. Also, I downloaded the ST7565 library from pjrc.com and did the same things as above with it as well and got the same results. Perhaps Paul or some other genius on the board will be able to point me in the right direction. Maybe I still added the library incorrectly, but sure seems like Arduino IDE found the library.

Oh, and here is the code for the test program. View attachment st7565lcd.pde.txt <-- I added ".txt" to the sketch file as it wouldn't allow me to upload the ".pde"
Here are the library files: View attachment ST7565.cpp.txt, View attachment ST7565.h.txt, View attachment glcdfont.c.txt <-- again, added ".txt" to end of files to allow uploading



Thanks in advance.

-Joe
 
Last edited:
I'm pretty sure that you can comment out that line (and the entire freeRam() routine). It's just a routine not related to LCD functions, just for debugging purposes.
 
Status
Not open for further replies.
Back
Top