|
|
|
|
@ -73,7 +73,7 @@ void App_Init(void){ |
|
|
|
|
void App_Run(void){ |
|
|
|
|
|
|
|
|
|
PRINTF("Initializing split flap motors.\n"); |
|
|
|
|
bool successfulInit = SF_MoveMotorToZeroPosition(splitflap0, 20); |
|
|
|
|
bool successfulInit = SF_MoveMotorToZeroPosition(splitflap0, 12); |
|
|
|
|
PRINTF("Init of motors done. Success = %s\n\n", successfulInit ? "true" : "false"); |
|
|
|
|
|
|
|
|
|
// if init failed => stop
|
|
|
|
|
@ -83,6 +83,10 @@ void App_Run(void){ |
|
|
|
|
|
|
|
|
|
// go through the following letters
|
|
|
|
|
char* letters[] = {"J", "O", "N", "A", "S", "!"}; |
|
|
|
|
//char* letters[] = { " ", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K",
|
|
|
|
|
// "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z",
|
|
|
|
|
// "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
|
|
|
|
|
// "!", "?", ":"};
|
|
|
|
|
PRINTF("Amount of letters %i\n", sizeof(letters)/sizeof(letters[0])); |
|
|
|
|
|
|
|
|
|
while(1){ |
|
|
|
|
|