💯 Adds initial IK and servo functionality

This commit is contained in:
Rune Harlyk
2023-05-06 02:24:50 +02:00
parent baa14da9ff
commit 9705628f29
10 changed files with 659 additions and 9 deletions
+14 -1
View File
@@ -33,6 +33,7 @@
*/
#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 64
#define SCREEN_RESET -1
/*
@@ -54,4 +55,16 @@
*/
#define USS_LEFT 12
#define USS_RIGHT 13
#define USS_MAX_DISTANCE 200
#define USS_MAX_DISTANCE 200
/*
* Button settings
*/
#define BUTTON 16
#define BUTTON_LED 2
/*
* PWM controller settings
*/
#define SERVO_OSCILLATOR_FREQUENCY 27000000
#define SERVO_FREQ 50