Skip to content

Instantly share code, notes, and snippets.

View rainx0r's full-sized avatar
🛰️

angel rainx0r

🛰️
View GitHub Profile
@rainx0r
rainx0r / main.cpp
Created March 19, 2017 15:41
Arduino Thing
// wired connections
#define HG7881_B_IA 10 // D10 --> Motor B Input A --> MOTOR B +
#define HG7881_B_IB 11 // D11 --> Motor B Input B --> MOTOR B -
// functional connections
#define MOTOR_B_PWM HG7881_B_IA // Motor B PWM Speed
#define MOTOR_B_DIR HG7881_B_IB // Motor B Direction
// the actual values for "fast" and "slow" depend on the motor
#define PWM_SLOW 50 // arbitrary slow speed PWM duty cycle
@rainx0r
rainx0r / README.md
Created November 19, 2021 11:09
CyberBoard R3 Fix Time Script