Open Garden  0.10.1-21
Data Fields
program_t Struct Reference

#include <ogstruct.h>

Data Fields

uint8_t dow
 Days of the week. More...
 
uint8_t oline
 Output line from 0 to 7.
 
uint8_t hstart
 start time (hours)
 
uint8_t mstart
 
uint16_t dmin
 

Detailed Description

A single program event structure.

Warning
If the struct is changed, you must re-define the CHECK_VALID_CODE to avoid incompatibile program store in the flash to be interpreted.

Field Documentation

◆ dmin

uint16_t program_t::dmin

duration (minutes)

◆ dow

uint8_t program_t::dow

Days of the week.

equal to _BV(struct tm->tm_wday) 1 Sunday 2 Monday 4 Tuesday 8 Wednesday 16 Thursday 32 Friday 64 Saturday

◆ mstart

uint8_t program_t::mstart

start time (minutes)


The documentation for this struct was generated from the following file: