Files @ 8f02a0213d08
Branch filter:

Location: therm/gpio.h - annotation

Ethan Zonca
Added gpio, spi, and clock init. May need to swap stdperiph to the one thrown out by the cube
#ifndef GPIO_H
#define GPIO_H


#define CHANGE_PERIOD_MS 100
#define CHANGE_ELAPSED (ticks - change_time_reset) > CHANGE_PERIOD_MS
#define CHANGE_RESET change_time_reset = ticks


void user_input(uint16_t* to_modify);
void init_gpio(void);

#endif

// vim:softtabstop=4 shiftwidth=4 expandtab