-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
Description
Running this program on CPX + SG92R on pin A1,
- on battery, it grinds to a locks within seconds.
- on USB, it slows down to a grind after a minute
#include "CircuitPlayground.h"
CircuitPlayground cplay;
int main()
{
int status = 0;
while(1)
{
cplay.io.led.setDigitalValue(status);
cplay.io.a1.setServoValue(30 + rand() % 15);
cplay.sleep(20);
status = !status;
}
}
Reactions are currently unavailable