This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "mbed.h" | |
#include "InterfaceCAN.h" | |
#define CAN1_RX PD_0 // RX port | |
#define CAN1_TX PD_1 // TX port | |
#define VESC_DUTY_EXTENDED_ID 0x00 // ID to run duty cycle mode | |
#define VESC_ID 101 // ID of the Vesc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function allowDrop(ev) { | |
ev.preventDefault(); | |
} | |
function drag(ev) { | |
ev.dataTransfer.setData("text", ev.target.id); | |
} | |
function drop(ev) { | |
ev.preventDefault(); |