Feeds
提问
S-Function to code Interrupts in Mega2560 doesn't give second encoder data correctly
%%S-Function Parameters%%: enc uint8 (0) pinA uint8 (20) pinB uint8 (21) encm uint8 (1) pinAm uint8...
8 years 前 | 0 个回答 | 0
0
个回答已回答
S-Function to code Interrupts in Mega2560 fails for unknown reasons. Help requested.
volatile Encoder Enc[1] = {0,0,0,0}; You need to initialize for 'Enc[0]'
S-Function to code Interrupts in Mega2560 fails for unknown reasons. Help requested.
volatile Encoder Enc[1] = {0,0,0,0}; You need to initialize for 'Enc[0]'
9 years 前 | 0
