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...
9年弱 前 | 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年 前 | 0
