You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the example code SetCurrent as following with an Arduino UNO and its working as intended.
#include <VescUart.h>
/** Initiate VescUart class */
VescUart UART;
float current = 2.0; /** The current in amps */
void setup() {
Serial.begin(9600);
/** Setup UART port (Serial1 on Atmega32u4) */
Serial.begin(115200);
/** Define which ports to use as UART */
UART.setSerialPort(115200);
}
void loop() {
/** Call the function setCurrent() to set the motor current */
UART.setCurrent(current);
}
My question is, if its possible to set both current and speed so I have control over the torque of my BLDC motor.
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hi there,
I used the example code SetCurrent as following with an Arduino UNO and its working as intended.
My question is, if its possible to set both current and speed so I have control over the torque of my BLDC motor.
Thanks in advance
The text was updated successfully, but these errors were encountered: