18 lines
371 B
Markdown
18 lines
371 B
Markdown
|
# Pins
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
```cards
|
||
|
pins.digitalReadPin(.DigitalPin);
|
||
|
pins.digitalWritePin(.DigitalPin, 0);
|
||
|
pins.analogReadPin(.AnalogPin);
|
||
|
pins.analogWritePin(.AnalogPin, 1023);
|
||
|
pins.analogSetPeriod(.AnalogPin, 20000);
|
||
|
pins.servoWritePin(.AnalogPin, 180);
|
||
|
pins.servoSetPulse(.AnalogPin, 1500);
|
||
|
pins.map(0, 0, 1023, 0, 4);
|
||
|
pins.analogPitch(0, 0);
|
||
|
pins.analogSetPitchPin(.AnalogPin);
|
||
|
```
|