Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Commit

Permalink
moved encoder to pio1
Browse files Browse the repository at this point in the history
  • Loading branch information
generationmake committed Nov 27, 2023
1 parent bbc4681 commit 6fcac1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CyphalRobotController07-CAN-firmware.ino
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ bool TimerHandler0(struct repeating_timer *t);

Ifx007t mot0;
Ifx007t mot1;
PioEncoder encoder0(ENCODER0_A);
PioEncoder encoder1(ENCODER1_A);
PioEncoder encoder0(ENCODER0_A, pio1);
PioEncoder encoder1(ENCODER1_A, pio1);
INA226_WE ina226 = INA226_WE();
ADS1115_WE ads1115 = ADS1115_WE();
RPI_PICO_Timer ITimer0(0);
Expand Down

0 comments on commit 6fcac1c

Please sign in to comment.