Installing "Time" Library?
dear arduinoers
as new comer fascinating world of arduino, first post forum since request help.
as trying play arduino (i want have print current date & time), wanted install arduino "time" library (http://www.arduino.cc/playground/code/time). however, when try run example sketch keep getting errors, , wondering if has seen this, and/or knows if perhaps doing wrong...
so, followed instructions in web page of installing directories in "time.zip" files in corresponding arduino library folders. then, when try run example "timeserial" sketch, following errors:
error 1: "the 'byte' keyword no longer supported. of arduino 1.0, 'byte' keyword no longer supported. please use serial.write() instead."
ok... no problem... go ahead , replace says "byte" "serial.write()". try running program again, , error:
error 2: following error message:
timeserial.cpp: in function 'time_t requestsync()':
timeserial.pde:-1: error: no matching function call 'hardwareserial::write()'
c:\arduino-1.0\hardware\arduino\cores\arduino/hardwareserial.h:58: note: candidates are: virtual size_t hardwareserial::write(uint8_t)
c:\arduino-1.0\hardware\arduino\cores\arduino/print.h:50: note: virtual size_t print::write(const uint8_t*, size_t)
c:\arduino-1.0\hardware\arduino\cores\arduino/print.h:49: note: size_t print::write(const char*)
anyone has encountered problem too? running arduino 1.0 software available download official arduino web site.
any insights/suggestions helpful...
thanks help!!!
lucs
as new comer fascinating world of arduino, first post forum since request help.
as trying play arduino (i want have print current date & time), wanted install arduino "time" library (http://www.arduino.cc/playground/code/time). however, when try run example sketch keep getting errors, , wondering if has seen this, and/or knows if perhaps doing wrong...
so, followed instructions in web page of installing directories in "time.zip" files in corresponding arduino library folders. then, when try run example "timeserial" sketch, following errors:
error 1: "the 'byte' keyword no longer supported. of arduino 1.0, 'byte' keyword no longer supported. please use serial.write() instead."
ok... no problem... go ahead , replace says "byte" "serial.write()". try running program again, , error:
error 2: following error message:
timeserial.cpp: in function 'time_t requestsync()':
timeserial.pde:-1: error: no matching function call 'hardwareserial::write()'
c:\arduino-1.0\hardware\arduino\cores\arduino/hardwareserial.h:58: note: candidates are: virtual size_t hardwareserial::write(uint8_t)
c:\arduino-1.0\hardware\arduino\cores\arduino/print.h:50: note: virtual size_t print::write(const uint8_t*, size_t)
c:\arduino-1.0\hardware\arduino\cores\arduino/print.h:49: note: size_t print::write(const char*)
anyone has encountered problem too? running arduino 1.0 software available download official arduino web site.
any insights/suggestions helpful...
thanks help!!!
lucs
to save recreating it, can post current sketch please? use code tags.
you can hitting # button above posting area.
you can hitting # button above posting area.
Arduino Forum > Using Arduino > Installation & Troubleshooting > Installing "Time" Library?
arduino
Comments
Post a Comment