PWM auf Pins 0 bis 20
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
// Erste 16 Kanaele: HW-PWM auf GP0..GP15 (8 Slices, je 2 Kanaele).
|
||||
#define PWM_HW_FIRST_PIN 0
|
||||
#define PWM_HW_COUNT 16
|
||||
|
||||
// Kanaele 16..20: PIO-PWM auf GP16..GP20 (5 State Machines).
|
||||
#define PWM_PIO_FIRST_PIN 16
|
||||
#define PWM_PIO_COUNT 5
|
||||
|
||||
#define PWM_TOTAL_COUNT (PWM_HW_COUNT + PWM_PIO_COUNT)
|
||||
Reference in New Issue
Block a user