Smartwatch compile problem

SDDHW · 2 · 2910

SDDHW

  • Newbie
  • *
    • Posts: 3
    • View Profile
Hi there,

I'm trying to get the smartwatch kit up and running. I am not unfamiliar with either Arduino or C++, but am not an expert in either.

I've got Blink uploaded no problem. I'm working with the latest Arduino IDE on Windows 10.

I've downloaded the zip from Codebender to my Desktop and pulled the folder onto the Desktop

It's the version that has (https://codebender.cc/sketch:91833#TinyScreen_Smartwatch.ino):

//  TinyCircuits TinyScreen/NRF8001 Smartwatch Example Sketch
//  Last Updated 29 February 2016

at the start.

I've set #define codebender false and the folder has UART.h and UART.ino in it.

I'm getting the error (is having multiple version of the libs problematic):

...
Using library TinyCircuits-TinyScreen_Lib-master at version 1.1.0 in folder: C:\Users\Hamish\Documents\Arduino\libraries\TinyCircuits-TinyScreen_Lib-master
Using library EEPROM at version 2.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM
exit status 1
'setTime' was not declared in this scope

I saw this forum discussion: http://forum.tinycircuits.com/index.php?topic=1544.msg2686#msg2686 

Is this the same issue? If it is, can you point me in the direction of how to fix it/alternatives?

Cheers,
Hamish


SDDHW

  • Newbie
  • *
    • Posts: 3
    • View Profile
Problem solved:

Some changes to the code - now updated on codebender + using the time library available at https://github.com/PaulStoffregen/Time solved the problem.


 

SMF spam blocked by CleanTalk