1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include "main.h" Gyro gyro; unsigned int imeCount=0; void initializeIO(void){ pinMode(1,INPUT_ANALOG); } void initialize(void){ lcdInit(uart1); lcdClear(uart1); gyro=gyroInit(2,0); imeCount=imeInitializeAll(); }