Jump to

* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* UK Reef's Shoutbox

Refresh History
  • Bubbagump: Hi all, just signed up today...if previous posts are anything to go by looking forward to joining the group
    November 19, 2017, 05:23:56 PM
  • IgorEvtimov: i read all the forum and topics and decidet to join you.
    April 23, 2017, 09:26:40 PM
  • IgorEvtimov: Im new in this and truing to build a reef tank
    April 23, 2017, 09:26:11 PM
  • IgorEvtimov: Hi to all
    April 23, 2017, 09:25:09 PM
  • AndrewStephens: Morning :)
    January 23, 2017, 07:03:06 AM
  • tangtastic: shuusshh :o
    December 03, 2015, 12:47:41 AM
  • compfranon: not a lot of people use this shoutbox
    October 31, 2015, 11:02:11 PM
  • mark (sid) tottle: why has it gone so quiet o this sight????????????
    September 03, 2015, 07:14:09 PM
  • tangtastic: Afternoon folks anything on the go today ?
    March 22, 2014, 12:00:29 PM
  • s23pho: jardin
    December 10, 2013, 11:29:08 PM
  • compfranon: checkout the 44 gallon thread onlyaman
    November 03, 2013, 10:20:23 PM
  • onlyaman: one
    October 31, 2013, 11:24:19 PM
  • onlyaman: has any oen put toghter the jarduino controler
    October 31, 2013, 11:23:41 PM
  • onlyaman: just wanted to say hi to all
    October 31, 2013, 11:15:34 PM
  • bigguy: Evening :)
    October 26, 2013, 09:15:06 PM
  • tangtastic: mornin
    October 15, 2013, 05:16:24 PM
  • bigguy: Greets to all :)
    October 12, 2013, 03:35:48 PM
  • compfranon: chrome worked for me
    October 08, 2013, 06:16:25 PM
  • bigguy: this is ie
    October 08, 2013, 05:18:20 PM
  • bigguy: hello
    October 08, 2013, 05:17:47 PM

Who's Online

  • Dot Guests: 139
  • Dot Hidden: 0
  • Dot Users: 1
  • Dot Users Online:

Theme Selection



Forum Default

Permanently

Author Topic: Arduino 3.2 tft colour touch screen build  (Read 263563 times)

0 Members and 8 Guests are viewing this topic.

Offline stevewild31

  • Jr. Member
  • **
  • Join Date: Dec 2011
  • Posts: 79
  • Karma: 0
Re: Arduino 3.2 tft colour touch screen build
« Reply #375 on: April 19, 2012, 12:21:27 AM »
Steve
If you are using an old screen then you have this piece of code would look like without  ITDB32S (this is for SSD1289)
ITDB02 myGLCD(38,39,40,41);
ITDB02_Touch MyTouch (46,45,44,43,42);

You'll also need another library DS1307 I have it attached  old library copy in another location, it is useful to you for jarduino and in its place, copy attached below

Now look you need to restart the Arduino IDE this can happen when you open multiple windows compiler

Thanks, I already have the DS1307 library, The screen is the 3.2 (Old as in I got it of Bigguy).

Having just tried the Jarduino_v1_1 again I was just left with  the following error (Relating to the DS1307 :-

Jarduino_v1_1.cpp: In function 'void SaveRTC()':
Jarduino_v1_1:662: error: 'RTC' was not declared in this scope
Jarduino_v1_1:663: error: 'DS1307_SEC' was not declared in this scope
Jarduino_v1_1:664: error: 'DS1307_MIN' was not declared in this scope
Jarduino_v1_1:665: error: 'DS1307_HR' was not declared in this scope
Jarduino_v1_1:667: error: 'DS1307_DATE' was not declared in this scope
Jarduino_v1_1:668: error: 'DS1307_MTH' was not declared in this scope
Jarduino_v1_1:669: error: 'DS1307_YR' was not declared in this scope
Jarduino_v1_1.cpp: In function 'void feedingTimeOutput()':
Jarduino_v1_1:3075: error: 'RTC' was not declared in this scope
Jarduino_v1_1:3093: error: 'RTC' was not declared in this scope
Jarduino_v1_1:3111: error: 'RTC' was not declared in this scope
Jarduino_v1_1:3129: error: 'RTC' was not declared in this scope
Jarduino_v1_1.cpp: In function 'void setup()':
Jarduino_v1_1:4463: error: 'RTC' was not declared in this scope
Jarduino_v1_1.cpp: In function 'void loop()':
Jarduino_v1_1:4503: error: 'RTC' was not declared in this scope.

?

Offline stevewild31

  • Jr. Member
  • **
  • Join Date: Dec 2011
  • Posts: 79
  • Karma: 0
Re: Arduino 3.2 tft colour touch screen build
« Reply #376 on: April 19, 2012, 12:23:04 AM »
i just used Jamie's Down load it Worked
All the Library Included ?
Am i not missing something

Did you have to un-comment or comment anything or did it run as is ?

Offline stevewild31

  • Jr. Member
  • **
  • Join Date: Dec 2011
  • Posts: 79
  • Karma: 0
Re: Arduino 3.2 tft colour touch screen build
« Reply #377 on: April 19, 2012, 12:24:32 AM »
what error was you getting with Jamie's Code dude
remember what i said I make sure i clear the temp files out every time

Post the error with Jamie's code

Here's the errors with Jamies code :-

Jarduino_v1_1.cpp: In function 'void SaveRTC()':
Jarduino_v1_1:662: error: 'RTC' was not declared in this scope
Jarduino_v1_1:663: error: 'DS1307_SEC' was not declared in this scope
Jarduino_v1_1:664: error: 'DS1307_MIN' was not declared in this scope
Jarduino_v1_1:665: error: 'DS1307_HR' was not declared in this scope
Jarduino_v1_1:667: error: 'DS1307_DATE' was not declared in this scope
Jarduino_v1_1:668: error: 'DS1307_MTH' was not declared in this scope
Jarduino_v1_1:669: error: 'DS1307_YR' was not declared in this scope
Jarduino_v1_1.cpp: In function 'void feedingTimeOutput()':
Jarduino_v1_1:3075: error: 'RTC' was not declared in this scope
Jarduino_v1_1:3093: error: 'RTC' was not declared in this scope
Jarduino_v1_1:3111: error: 'RTC' was not declared in this scope
Jarduino_v1_1:3129: error: 'RTC' was not declared in this scope
Jarduino_v1_1.cpp: In function 'void setup()':
Jarduino_v1_1:4463: error: 'RTC' was not declared in this scope
Jarduino_v1_1.cpp: In function 'void loop()':
Jarduino_v1_1:4503: error: 'RTC' was not declared in this scope

Offline stevewild31

  • Jr. Member
  • **
  • Join Date: Dec 2011
  • Posts: 79
  • Karma: 0
Re: Arduino 3.2 tft colour touch screen build
« Reply #378 on: April 19, 2012, 12:31:10 AM »
Steve
If you are using an old screen then you have this piece of code would look like without  ITDB32S (this is for SSD1289)
ITDB02 myGLCD(38,39,40,41);
ITDB02_Touch MyTouch (46,45,44,43,42);

You'll also need another library DS1307 I have it attached  old library copy in another location, it is useful to you for jarduino and in its place, copy attached below

Now look you need to restart the Arduino IDE this can happen when you open multiple windows compiler

Thanks, I already have the DS1307 library, The screen is the 3.2 (Old as in I got it of Bigguy).

Having just tried the Jarduino_v1_1 again I was just left with  the following error (Relating to the DS1307 :-

Jarduino_v1_1.cpp: In function 'void SaveRTC()':
Jarduino_v1_1:662: error: 'RTC' was not declared in this scope
Jarduino_v1_1:663: error: 'DS1307_SEC' was not declared in this scope
Jarduino_v1_1:664: error: 'DS1307_MIN' was not declared in this scope
Jarduino_v1_1:665: error: 'DS1307_HR' was not declared in this scope
Jarduino_v1_1:667: error: 'DS1307_DATE' was not declared in this scope
Jarduino_v1_1:668: error: 'DS1307_MTH' was not declared in this scope
Jarduino_v1_1:669: error: 'DS1307_YR' was not declared in this scope
Jarduino_v1_1.cpp: In function 'void feedingTimeOutput()':
Jarduino_v1_1:3075: error: 'RTC' was not declared in this scope
Jarduino_v1_1:3093: error: 'RTC' was not declared in this scope
Jarduino_v1_1:3111: error: 'RTC' was not declared in this scope
Jarduino_v1_1:3129: error: 'RTC' was not declared in this scope
Jarduino_v1_1.cpp: In function 'void setup()':
Jarduino_v1_1:4463: error: 'RTC' was not declared in this scope
Jarduino_v1_1.cpp: In function 'void loop()':
Jarduino_v1_1:4503: error: 'RTC' was not declared in this scope.

?

Tried replacing the DS1307 library with the one you posted and resulted in the Following :-

Jarduino_v1_1.cpp: In function 'void SaveRTC()':
Jarduino_v1_1:662: error: 'RTC' was not declared in this scope
Jarduino_v1_1:663: error: 'DS1307_SEC' was not declared in this scope
Jarduino_v1_1:664: error: 'DS1307_MIN' was not declared in this scope
Jarduino_v1_1:665: error: 'DS1307_HR' was not declared in this scope
Jarduino_v1_1:667: error: 'DS1307_DATE' was not declared in this scope
Jarduino_v1_1:668: error: 'DS1307_MTH' was not declared in this scope
Jarduino_v1_1:669: error: 'DS1307_YR' was not declared in this scope
Jarduino_v1_1.cpp: In function 'void feedingTimeOutput()':
Jarduino_v1_1:3075: error: 'RTC' was not declared in this scope
Jarduino_v1_1:3093: error: 'RTC' was not declared in this scope
Jarduino_v1_1:3111: error: 'RTC' was not declared in this scope
Jarduino_v1_1:3129: error: 'RTC' was not declared in this scope
Jarduino_v1_1.cpp: In function 'void setup()':
Jarduino_v1_1:4463: error: 'RTC' was not declared in this scope
Jarduino_v1_1.cpp: In function 'void loop()':
Jarduino_v1_1:4503: error: 'RTC' was not declared in this scope

Which is exactly the same as previously

Offline stevewild31

  • Jr. Member
  • **
  • Join Date: Dec 2011
  • Posts: 79
  • Karma: 0
Re: Arduino 3.2 tft colour touch screen build
« Reply #379 on: April 19, 2012, 12:34:45 AM »
I'm Only using the Arduino 022 from with in Jamies code, and I'm running that VB script you gave me to clear the Temp folder (By the way it is the temp folder on the C: drive isn't it ?)

Offline svyaz

  • Jr. Member
  • **
  • Join Date: Feb 2012
  • Posts: 50
  • Karma: 5
  • Gender: Male
Re: Arduino 3.2 tft colour touch screen build
« Reply #380 on: April 19, 2012, 12:35:30 AM »
Thanks, I already have the DS1307 library, The screen is the 3.2 (Old as in I got it of Bigguy).
in libraries, there are some differences that you have a bug is because of the library DS1307 try that I'm stuck but do not delete the second
and all libraries should be located in the libraries Arduino IDE not in a folder with a sketch

Offline svyaz

  • Jr. Member
  • **
  • Join Date: Feb 2012
  • Posts: 50
  • Karma: 5
  • Gender: Male
Re: Arduino 3.2 tft colour touch screen build
« Reply #381 on: April 19, 2012, 12:44:51 AM »
Tried replacing the DS1307 library with the one you posted and resulted in the Following :-
is the library that I attached to ITDB02_Analog_Clock to sketch Jarduino_v1_1 Use the one that was with  arduino-0022-JarduinoPatch they are just slightly different

Offline bigguy

  • Administrator
  • ******
  • Join Date: Feb 2012
  • Posts: 643
  • Karma: 2
  • Gender: Male
    • ukreefs
Re: Arduino 3.2 tft colour touch screen build
« Reply #382 on: April 19, 2012, 12:55:11 AM »
steve
that screen requires this dude

//TOUCH PANEL and ITDB02 MEGA SHIELD
//(Mega Shield utilizes pins 5V, 3V3, GND, 2-6, 20-41, & (50-53 for SD Card))
ITDB02 myGLCD(38,39,40,41,ITDB32S);    //May need to add "ITDB32S" depending on LCD controller
ITDB02_Touch myTouch(6,5,4,3,2);

Simon
Cube LED Build The Journey :)
http://ukreefs.com/index.php?topic=975.msg8156#msg8156
Large Fat And Dam ugly But Happy to Try and help if i Can :)
Enjoy Your Stay Here.

50cm Cube Tank Thread
http://ukreefs.com/index.php?topic=1005.0

Offline stevewild31

  • Jr. Member
  • **
  • Join Date: Dec 2011
  • Posts: 79
  • Karma: 0
Re: Arduino 3.2 tft colour touch screen build
« Reply #383 on: April 19, 2012, 01:24:03 AM »
steve
that screen requires this dude

//TOUCH PANEL and ITDB02 MEGA SHIELD
//(Mega Shield utilizes pins 5V, 3V3, GND, 2-6, 20-41, & (50-53 for SD Card))
ITDB02 myGLCD(38,39,40,41,ITDB32S);    //May need to add "ITDB32S" depending on LCD controller
ITDB02_Touch myTouch(6,5,4,3,2);

Simon

Thanks Simon,

Tried that and still the above RTC errors ! 

Offline bigguy

  • Administrator
  • ******
  • Join Date: Feb 2012
  • Posts: 643
  • Karma: 2
  • Gender: Male
    • ukreefs
Re: Arduino 3.2 tft colour touch screen build
« Reply #384 on: April 19, 2012, 01:31:03 AM »
same issue i was having dude
read from here

http://ukreefs.com/index.php?topic=258.255

Simon
Cube LED Build The Journey :)
http://ukreefs.com/index.php?topic=975.msg8156#msg8156
Large Fat And Dam ugly But Happy to Try and help if i Can :)
Enjoy Your Stay Here.

50cm Cube Tank Thread
http://ukreefs.com/index.php?topic=1005.0

Offline stevewild31

  • Jr. Member
  • **
  • Join Date: Dec 2011
  • Posts: 79
  • Karma: 0
Re: Arduino 3.2 tft colour touch screen build
« Reply #385 on: April 19, 2012, 01:46:30 AM »
same issue i was having dude
read from here

http://ukreefs.com/index.php?topic=258.255

Simon

 :c017: Been reading and trying from there all night  :03:    That download refers to the SD card which doesn't work on this screen, I saw you had a similar problem but couldn't see the ultimate fix, Been trying every ones Suggestions so for to no avail...

Got an early start in morning so have to give up for tonight, Thanks for your and evvery one elses help so far.  Night All :-)

Offline TheDOdblG

  • Admin/Mod
  • *****
  • Join Date: Nov 2011
  • Posts: 1102
  • Karma: 62
  • Gender: Male
    • Jarduino on Google Code
Re: Arduino 3.2 tft colour touch screen build
« Reply #386 on: April 19, 2012, 05:30:43 AM »
Steve, make sure under the Arduino environment, your "preferences" are set to look for your sketch in the "arduino-0022-JarduinoPatch" folder (wherever you extracted it - in my case c:\arduino-0022-JarduinoPatch), and that under "Tools" you have the correct board and COM ports selected ("Board" and "Serial Port" respectively).  Once you do this, close the Arduino Environment, reopen it, and try again.

Also, you should clear the EEPROM prior to uploading the Jarduino sketch. Instructions on how to do this is located in my sketch right above the LED array values  (line 302).
« Last Edit: April 19, 2012, 04:44:30 PM by TheDOdblG »

Offline tangtastic

  • Administrator
  • ******
  • Join Date: Oct 2011
  • Posts: 2134
  • Karma: 1004
  • Gender: Male
  • Expertises:
  • LED Builds
  • Equipment knowledge
Re: Arduino 3.2 tft colour touch screen build
« Reply #387 on: April 19, 2012, 10:30:47 AM »
Them errors are the incorrect versions of the rtc kind of remember getting them myself

Right did you get the clock sketch working, i think you need to start from scratch, get the arduino arduino-0022-JarduinoPatch then download a fresh set of hennings libraries

It does work there is something that your doing wrong budd
Enjoy your stay on Ukreefs, please don't hesitate to contact the team if you have any recommendations

Offline tangtastic

  • Administrator
  • ******
  • Join Date: Oct 2011
  • Posts: 2134
  • Karma: 1004
  • Gender: Male
  • Expertises:
  • LED Builds
  • Equipment knowledge
Re: Arduino 3.2 tft colour touch screen build
« Reply #388 on: April 19, 2012, 10:34:13 AM »
If you look at the bottom of the page of the link that Simon has put up he had the same trouble budd

Re: Arduino 3.2 tft colour touch screen build
Reply #269 on: April 03, 2012, 10:15:56 PM

http://ukreefs.com/index.php?topic=258.255

Enjoy your stay on Ukreefs, please don't hesitate to contact the team if you have any recommendations

Offline bigguy

  • Administrator
  • ******
  • Join Date: Feb 2012
  • Posts: 643
  • Karma: 2
  • Gender: Male
    • ukreefs
Re: Arduino 3.2 tft colour touch screen build
« Reply #389 on: April 19, 2012, 10:53:41 AM »
yea sorry should have said near bottom of page and next page
Cube LED Build The Journey :)
http://ukreefs.com/index.php?topic=975.msg8156#msg8156
Large Fat And Dam ugly But Happy to Try and help if i Can :)
Enjoy Your Stay Here.

50cm Cube Tank Thread
http://ukreefs.com/index.php?topic=1005.0