package
Version:
v0.0.0-...-eeea687
Opens a new window with list of versions in this module.
Published: Dec 5, 2018
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
PWM3 = 3
PWM5 = 5
PWM6 = 6
PWM10 = 10
PWM11 = 11
)
PWM output pins.
Analog is an ADC pin.
const (
A0 Analog = 14
A1
A2
A3
A4
A5
)
ADC pins.
Get returns analog to digital conversion of a.
Digital is a GPIO pin.
const (
D0 Digital = iota
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
)
GPIO pins.
Get returns high or low input.
Input set d to input. If pullup is true,
pulls d high.
PWM is a pin capable of pulse width modulation.
Set sets PWM output. Undefined behavior
may result if dutycycle > 1023.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.