-updated readme, -modified F0-F31 handling, - implemented pwm for F0-F31

This commit is contained in:
1nct committed 2022-03-05 01:41:40 +01:00
1 parent 4f5283521d
commit a6fa9ef249
7 files changed
+224 -169

No files matched your search

+1 -3
View File
@@ -6,8 +6,6 @@
#pragma once
#include "shared.h"
#define FWD_V_EMF_ADC_PIN 26
#define REV_V_EMF_ADC_PIN 27
uint16_t calc_end_target();
bool speed_helper();
void adjust_pwm_level(uint16_t level);
@@ -15,4 +13,4 @@ void init_offsets(uint16_t lvl_max);
uint32_t offset();
bool pid_control(struct repeating_timer *t);
void init_pid();
void init_pwm(uint8_t gpio);
void init_motor_pwm(uint8_t gpio);