Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code problem #6

Open
RamiritoFalconsito opened this issue Oct 26, 2023 · 0 comments
Open

Code problem #6

RamiritoFalconsito opened this issue Oct 26, 2023 · 0 comments

Comments

@RamiritoFalconsito
Copy link

RamiritoFalconsito commented Oct 26, 2023

Good afternoon, I and a friend are working in a school project and chose your invention. However, we've encountered with a lot of compilation errors. We did what was mentioned in the other but we still have these problems:

Arduino:1.8.5 (Windows 10), Tarjeta:"Arduino Pro or Pro Mini, ATmega328P (3.3V, 8 MHz)"

In file included from C:\Users\ET36\Desktop\watch\watch.ino:1:0:

C:\Users\ET36\Documents\Arduino\libraries\TimeAlarms/TimeAlarms.h:71:31: error: 'timeDayOfWeek_t' does not name a type

AlarmID_t alarmRepeat(const timeDayOfWeek_t DOW, const int H, const int M, const int S, OnTick_t onTickHandler); // as above, with day of week

                           ^~~~~~~~~~~~~~~

C:\Users\ET36\Documents\Arduino\libraries\TimeAlarms/TimeAlarms.h:75:29: error: 'timeDayOfWeek_t' does not name a type

AlarmID_t alarmOnce(const timeDayOfWeek_t DOW, const int H, const int M, const int S, OnTick_t onTickHandler); // as above, with day of week

                         ^~~~~~~~~~~~~~~

In file included from sketch\bluetooth.h:7:0,

             from sketch\watchcore.h:109,

             from C:\Users\ET36\Desktop\watch\watch.ino:21:

C:\Users\ET36\Documents\Arduino\libraries\DS1307RTC/DS1307RTC.h:19:19: error: 'tmElements_t' has not been declared

static void read(tmElements_t &tm);

               ^~~~~~~~~~~~

C:\Users\ET36\Documents\Arduino\libraries\DS1307RTC/DS1307RTC.h:20:20: error: 'tmElements_t' has not been declared

static void write(tmElements_t &tm);

                ^~~~~~~~~~~~

In file included from sketch\watchcore.h:109:0,

             from C:\Users\ET36\Desktop\watch\watch.ino:21:

sketch\bluetooth.h: In member function 'void Bluetooth::processMessage()':

bluetooth.h:155: error: 'setTime' was not declared in this scope

     setTime(buffer.toInt());

     ^~~~~~~

sketch\bluetooth.h:155:9: note: suggested alternative: 'dtTimer'

     setTime(buffer.toInt());

     ^~~~~~~

     dtTimer

exit status 1
'setTime' was not declared in this scope

Este reporte podría tener más información con
"Mostrar salida detallada durante la compilación"
opción habilitada en Archivo -> Preferencias.

I hope you answer ASAP because we need to finish this in a week. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant