Finished adc implementation. Increased game ticks.

This commit is contained in:
T-moe
2016-01-29 16:07:00 +01:00
parent 913eba8f6f
commit d195945ff4
5 changed files with 67 additions and 35 deletions

View File

@@ -34,6 +34,11 @@ bool io_button_has_edge(uint8_t btnnumber);
uint16_t read_adc();
#define ADC_MASK 0x3FF
#define ADC_MAX 0x3A0
#define ADC_TOLERANCE 0x08
/**
* @brief Read the values of the 8 switches
*