avr: initial implementation for PWM

Signed-off-by: Ron Evans <ron@hybridgroup.com>

Edited slightly by Ayke van Laethem
This commit is contained in:
Ron Evans
2018-09-14 14:42:47 +02:00
committed by Ayke van Laethem
parent 94358959f5
commit fc0ff3a987
5 changed files with 142 additions and 6 deletions
+4
View File
@@ -15,3 +15,7 @@ func (p GPIO) High() {
func (p GPIO) Low() {
p.Set(false)
}
type PWM struct {
Pin uint8
}