Go Down

Topic: LED and aquarium controller with TFT LCD touch screen (Read 23 times) previous topic - next topic

DerekPDX

Hey, your controller looks great. However, I am having trouble getting the code to compile i keep getting the following errors:

Code: [Select]










/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp: In member function 'uint8_t DS1307new::isPresent()':
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:47: error: 'class TwoWire' has no member named 'write'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp: In member function 'void DS1307new::stopClock()':
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:55: error: 'class TwoWire' has no member named 'write'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:58: error: 'class TwoWire' has no member named 'read'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:60: error: 'class TwoWire' has no member named 'write'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:61: error: 'class TwoWire' has no member named 'write'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp: In member function 'void DS1307new::startClock()':
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:68: error: 'class TwoWire' has no member named 'write'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:71: error: 'class TwoWire' has no member named 'read'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:73: error: 'class TwoWire' has no member named 'write'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:74: error: 'class TwoWire' has no member named 'write'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp: In member function 'void DS1307new::getTime()':
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:82: error: 'class TwoWire' has no member named 'write'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:85: error: 'class TwoWire' has no member named 'read'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:86: error: 'class TwoWire' has no member named 'read'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:87: error: 'class TwoWire' has no member named 'read'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:88: error: 'class TwoWire' has no member named 'read'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:90: error: 'class TwoWire' has no member named 'read'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:91: error: 'class TwoWire' has no member named 'read'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:92: error: 'class TwoWire' has no member named 'read'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp: In member function 'void DS1307new::setTime()':
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:106: error: 'class TwoWire' has no member named 'write'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:107: error: 'class TwoWire' has no member named 'write'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:108: error: 'class TwoWire' has no member named 'write'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:109: error: 'class TwoWire' has no member named 'write'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:110: error: 'class TwoWire' has no member named 'write'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:111: error: 'class TwoWire' has no member named 'write'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:112: error: 'class TwoWire' has no member named 'write'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:113: error: 'class TwoWire' has no member named 'write'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp: In member function 'void DS1307new::getCTRL()':
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:121: error: 'class TwoWire' has no member named 'write'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:128: error: 'class TwoWire' has no member named 'read'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp: In member function 'void DS1307new::setCTRL()':
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:135: error: 'class TwoWire' has no member named 'write'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:136: error: 'class TwoWire' has no member named 'write'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp: In member function 'void DS1307new::getRAM(uint8_t, uint8_t*, uint8_t)':
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:146: error: 'class TwoWire' has no member named 'write'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:156: error: 'class TwoWire' has no member named 'read'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp: In member function 'void DS1307new::setRAM(uint8_t, uint8_t*, uint8_t)':
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:166: error: 'class TwoWire' has no member named 'write'
/Users/DJW/Documents/Arduino/libraries/DS1307new/DS1307new.cpp:169: error: 'class TwoWire' has no member named 'write'

DerekPDX

OK all the errors are gone, but now the screen just flashes and refreshes every second or two. Could it be because I haven't installed the RTC module yet?

vasco

No, I don't think so. If arduino can't see RTC then some weird numbers are displayed instead of time and date.
I think it something with the screen, did you manage to successfully run examples from UTFT library?

nkd5025

Vasco,

I want to thank you as seeing your controller a few months back was one of the main reasons I decided to try and make my own.  For ATO I have implemented freescales MPXV5004GC7U pressure sensor in order to get accurate water levels.  It is extremely simple to use and is quite accurate.  Here is a link to the product
http://www.digikey.com/product-detail/en/MPXV5004GC7U/MPXV5004GC7U-ND/951844

Nick D.

DerekPDX


No, I don't think so. If arduino can't see RTC then some weird numbers are displayed instead of time and date.
I think it something with the screen, did you manage to successfully run examples from UTFT library?


Yeah, all the examples work properly, and I can even get some simple sketches that I created to run no problem. Weird part is, i commented out a a section of the sketch pertaining to the clock (forgot where it is, ill try to look for it) and it caused the main screen to load fully, but right after loading it went to a menu screen with options to adjust the clock, led stuff, and some other things, but I couldnt tap on anything.

Go Up