This commit is contained in:
Mike Trudeau
2026-02-13 20:30:52 +00:00
parent 71ffec0d88
commit 5b106896a1
127 changed files with 35217 additions and 0 deletions

17
fw/stm8s/test1/defaults.h Normal file
View File

@@ -0,0 +1,17 @@
#ifndef DEFAULTS_H
#define DEFAULTS_H
#define LED0_PORT PB
#define LED0_PIN PIN5
#define SSR0_PORT PD
#define SSR0_PIN PIN3
#define SSR1_PORT PA
#define SSR1_PIN PIN3
#define PWM_PSCR 2
#define PWM_CLK (F_CPU / 4)
#define PWM_FREQ 240
#define PWM_ARR (PWM_CLK / PWM_FREQ) - 1
#endif /* DEFAULTS_H */