Skip to content

Commit

Permalink
fix PIC18F4580 AN0 pin number
Browse files Browse the repository at this point in the history
  • Loading branch information
lcgamboa committed Feb 10, 2024
1 parent f3cfb55 commit 11e2d0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pics/PIC18F4580.c
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ void PIC18F4580_reset(_pic* pic) {
pic->ccp[0].pin = 17;
pic->ccp[1].pin = 27;

pic->adc[0] = 36;
pic->adc[0] = 2;
pic->adc[1] = 3;
pic->adc[2] = 4;
pic->adc[3] = 5;
Expand Down

0 comments on commit 11e2d0e

Please sign in to comment.