ArduinoPhone

Moderators: lily.li, violet, jessie, chao.zhang

brady_b15
Pre-kindergarten
Pre-kindergarten
Posts: 7
Joined: Thu Apr 25, 2013 7:51 am

Re: ArduinoPhone

Post by brady_b15 » Thu Apr 25, 2013 10:34 am

Okay, it may be a few days before I get a working SIM card so no big deal. I copied all the code from the different files on github into the files from the old code, and i got a new error, I'm not worried about it I just though I would copy all the new files to replace the old ones.

Here is what I get, which confuses me since the TFT library is in there already..

ArduinoPhoneCode.ino: In function 'void stateMachine()':
ArduinoPhoneCode:112: error: 'Tft' was not declared in this scope
ArduinoPhoneCode:215: error: 'WHITE' was not declared in this scope
ArduinoPhoneCode:216: error: 'GRAY1' was not declared in this scope
ArduinoPhoneCode:217: error: 'RED' was not declared in this scope
ArduinoPhoneCode:250: error: 'BLACK' was not declared in this scope
ArduinoPhoneCode:262: error: 'GREEN' was not declared in this scope
ArduinoPhoneCode.ino: In function 'void stateMsg()':
ArduinoPhoneCode:508: error: 'RED' was not declared in this scope
ArduinoPhoneCode:524: error: 'RED' was not declared in this scope

User avatar
loovee
Elementary-3
Elementary-3
Posts: 352
Joined: Fri Nov 02, 2012 9:15 am

Re: ArduinoPhone

Post by loovee » Thu Apr 25, 2013 10:39 am

brady_b15 wrote:Okay, it may be a few days before I get a working SIM card so no big deal. I copied all the code from the different files on github into the files from the old code, and i got a new error, I'm not worried about it I just though I would copy all the new files to replace the old ones.

Here is what I get, which confuses me since the TFT library is in there already..

ArduinoPhoneCode.ino: In function 'void stateMachine()':
ArduinoPhoneCode:112: error: 'Tft' was not declared in this scope
ArduinoPhoneCode:215: error: 'WHITE' was not declared in this scope
ArduinoPhoneCode:216: error: 'GRAY1' was not declared in this scope
ArduinoPhoneCode:217: error: 'RED' was not declared in this scope
ArduinoPhoneCode:250: error: 'BLACK' was not declared in this scope
ArduinoPhoneCode:262: error: 'GREEN' was not declared in this scope
ArduinoPhoneCode.ino: In function 'void stateMsg()':
ArduinoPhoneCode:508: error: 'RED' was not declared in this scope
ArduinoPhoneCode:524: error: 'RED' was not declared in this scope
hey~ Actually I had modified the TFT Shield firmware, that's , it's a little different form the firmware on the wiki~

brady_b15
Pre-kindergarten
Pre-kindergarten
Posts: 7
Joined: Thu Apr 25, 2013 7:51 am

Re: ArduinoPhone

Post by brady_b15 » Thu Apr 25, 2013 10:46 am

Oh okay, makes sense now, thank you.

User avatar
Jacket Chen
Staff
Staff
Posts: 659
Joined: Thu Jun 21, 2012 4:25 pm
Are you a staff member of seeedstudio?: yes
Which products/projects are your favorite?: Seeeduino Shields
Location: China

Re: ArduinoPhone

Post by Jacket Chen » Thu Apr 25, 2013 11:45 am

brady_b15 wrote:Oh okay, makes sense now, thank you.

We have posted all liraries on github, (the link) you can't miss it on the first page.
Love little, love long.

brady_b15
Pre-kindergarten
Pre-kindergarten
Posts: 7
Joined: Thu Apr 25, 2013 7:51 am

Re: ArduinoPhone

Post by brady_b15 » Fri Apr 26, 2013 10:05 am

I got an UNO board, and the problem is indeed something with the MEGA board, as everything is working now :)

Whats so different between the two that would cause one to work and the other not to?

User avatar
loovee
Elementary-3
Elementary-3
Posts: 352
Joined: Fri Nov 02, 2012 9:15 am

Re: ArduinoPhone

Post by loovee » Fri Apr 26, 2013 11:58 am

brady_b15 wrote:I got an UNO board, and the problem is indeed something with the MEGA board, as everything is working now :)

Whats so different between the two that would cause one to work and the other not to?
hm , do you use a tft touch 1.0 or tft touch 2.0 ?

User avatar
loovee
Elementary-3
Elementary-3
Posts: 352
Joined: Fri Nov 02, 2012 9:15 am

Re: ArduinoPhone

Post by loovee » Fri Apr 26, 2013 2:24 pm

brady_b15 wrote:I got an UNO board, and the problem is indeed something with the MEGA board, as everything is working now :)

Whats so different between the two that would cause one to work and the other not to?

wow~ :?

you can go to my github for the laterst ArduinoPhone code~, I can works with mega now: https://github.com/reeedstudio/ArduinoPhone

User avatar
loovee
Elementary-3
Elementary-3
Posts: 352
Joined: Fri Nov 02, 2012 9:15 am

Re: ArduinoPhone

Post by loovee » Fri Apr 26, 2013 2:25 pm

brady_b15 wrote:I got an UNO board, and the problem is indeed something with the MEGA board, as everything is working now :)

Whats so different between the two that would cause one to work and the other not to?
if necessary, you should download my TFT library also: https://github.com/reeedstudio/libraries

just have a try~ :lol:

brady_b15
Pre-kindergarten
Pre-kindergarten
Posts: 7
Joined: Thu Apr 25, 2013 7:51 am

Re: ArduinoPhone

Post by brady_b15 » Fri Apr 26, 2013 4:51 pm

I have a V1.0 TFT screen, I will download your libraries, and try the MEGA again :)

User avatar
loovee
Elementary-3
Elementary-3
Posts: 352
Joined: Fri Nov 02, 2012 9:15 am

Re: ArduinoPhone

Post by loovee » Sat Jun 22, 2013 10:45 am

brady_b15 wrote:I have a V1.0 TFT screen, I will download your libraries, and try the MEGA again :)
does it work? :D

Post Reply