Skip to content

Code problem #6

@RamiritoFalconsito

Description

@RamiritoFalconsito

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions