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