LacqueyFetch firmware for the mbed

Dependencies:   Motor mbed

Files at this revision

API Documentation at this revision

Comitter:
raulsr988
Date:
Tue Mar 14 10:09:40 2023 +0000
Parent:
3:f31b6ddb9cd3
Commit message:
Update pin assignment for MBED/Lacquey

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Oct 17 14:54:33 2019 +0000
+++ b/main.cpp	Tue Mar 14 10:09:40 2023 +0000
@@ -16,7 +16,7 @@
  * @section lacqueyFetch_install Installation
  * 
  * First you need to program the firmware to the MBED <br>
- * You can use the online compiler (https://os.mbed.com/compiler) to compile the firmware and stored it on the flash mbed memory<br>
+ * You can use the online compiler (https://studio.keil.arm.com) to compile the firmware and stored it on the flash mbed memory<br>
  * Steps:
  * - Change the "id" of the device corresponding to the hand used (right-hand: ID 65, left-hand: ID 64) <br>
  * - Press "Compile" and save the .bin file on the flash mbed memory <br>
@@ -39,7 +39,7 @@
 Serial pc(USBTX, USBRX);   // Serial connection
 DigitalOut led1(LED1);     // received
 CAN can(p30, p29);         // tx,rx
-Motor m(p24, p26, p25);    // pwm, fwd, rev (PWM, REVERSE, FORDWARD)
+Motor m(p22, p23, p24);    // pwm, fwd, rev (PWM, REVERSE, FORDWARD)
 const uint8_t id = 64;     // right-hand: ID 65, left-hand: ID 64
 
 bool receive(float* value) {