nokia5110.h:
/*
nokia5110.h
This file contains the functions and data required
to drive several Nokia 5110 LCD displays.
*/
#ifndef NokiaLCD_h
#define NokiaLCD_h
#include "Arduino.h"
class NokiaLCD
{
public:
NokiaLCD(int SCE, int RESET, int DC, int SDIN, int SCLK);
void drawBorderBox();
void gotoXY(int x, int y);
void LcdWrite(byte dc, byte data);
void LcdClear();
void LcdString(char *charachters);
void LcdCharacter(char charachter);
private:
int _SCE;
int _RESET;
int _DC;
int _SDIN;
int _SCLK;
const byte ASCII[][5];
#endif
And here's the fit the compiler is giving me:
sketch_sep09a:20: error: expected identifier before numeric constant
sketch_sep09a:20: error: expected ‘,’ or ‘...’ before numeric constant
sketch_sep09a:22: error: ‘void NokiaLCD::setup()’ cannot be overloaded
sketch_sep09a:18: error: with ‘void NokiaLCD::setup()’
sketch_sep09a:27: error: ‘void NokiaLCD::loop()’ cannot be overloaded
sketch_sep09a:19: error: with ‘void NokiaLCD::loop()’
sketch_sep09a:66: error: expected `}' at end of input
sketch_sep09a.cpp: In member function ‘void NokiaLCD::loop()’:
sketch_sep09a:35: error: ‘((NokiaLCD*)this)->NokiaLCD::LeftDisplay’ does not have class type
sketch_sep09a:37: error: ‘((NokiaLCD*)this)->NokiaLCD::LeftDisplay’ does not have class type
sketch_sep09a:39: error: ‘((NokiaLCD*)this)->NokiaLCD::LeftDisplay’ does not have class type
sketch_sep09a:40: error: ‘((NokiaLCD*)this)->NokiaLCD::LeftDisplay’ does not have class type
sketch_sep09a:41: error: ‘((NokiaLCD*)this)->NokiaLCD::LeftDisplay’ does not have class type
sketch_sep09a:42: error: ‘((NokiaLCD*)this)->NokiaLCD::LeftDisplay’ does not have class type
sketch_sep09a:43: error: ‘((NokiaLCD*)this)->NokiaLCD::LeftDisplay’ does not have class type
sketch_sep09a:44: error: ‘((NokiaLCD*)this)->NokiaLCD::LeftDisplay’ does not have class type
sketch_sep09a:45: error: ‘((NokiaLCD*)this)->NokiaLCD::LeftDisplay’ does not have class type
sketch_sep09a:46: error: ‘((NokiaLCD*)this)->NokiaLCD::LeftDisplay’ does not have class type
sketch_sep09a:47: error: ‘((NokiaLCD*)this)->NokiaLCD::LeftDisplay’ does not have class type
sketch_sep09a:49: error: ‘((NokiaLCD*)this)->NokiaLCD::LeftDisplay’ does not have class type
sketch_sep09a:50: error: ‘((NokiaLCD*)this)->NokiaLCD::LeftDisplay’ does not have class type
sketch_sep09a:52: error: ‘((NokiaLCD*)this)->NokiaLCD::LeftDisplay’ does not have class type
sketch_sep09a:53: error: ‘((NokiaLCD*)this)->NokiaLCD::LeftDisplay’ does not have class type
sketch_sep09a:54: error: ‘((NokiaLCD*)this)->NokiaLCD::LeftDisplay’ does not have class type
sketch_sep09a:55: error: ‘((NokiaLCD*)this)->NokiaLCD::LeftDisplay’ does not have class type
sketch_sep09a:56: error: ‘((NokiaLCD*)this)->NokiaLCD::LeftDisplay’ does not have class type
sketch_sep09a:57: error: ‘((NokiaLCD*)this)->NokiaLCD::LeftDisplay’ does not have class type
sketch_sep09a:58: error: ‘((NokiaLCD*)this)->NokiaLCD::LeftDisplay’ does not have class type
sketch_sep09a:59: error: ‘((NokiaLCD*)this)->NokiaLCD::LeftDisplay’ does not have class type
sketch_sep09a:61: error: ‘((NokiaLCD*)this)->NokiaLCD::LeftDisplay’ does not have class type
sketch_sep09a:62: error: ‘((NokiaLCD*)this)->NokiaLCD::LeftDisplay’ does not have class type
sketch_sep09a.cpp: At global scope:
sketch_sep09a:66: error: expected unqualified-id at end of input
Any input is appreciated. Thanks.
Oh yeah, sorry about the multiple posts but I was running in to the forum's character limit.