Module wiring
- Occam bindings written to resemble the C-like wiring API
Occam bindings written to resemble the C-like wiring API
Index
- Function
Serial.available
- Process
Serial.begin
- Process
Serial.end
- Process
Serial.flush
- Process
Serial.printByte
- Process
Serial.printHex
- Process
Serial.read
- Process
Serial.write
- Process
analogRead
- Process
analogWrite
- Process
digitalRead
- Process
digitalWrite
- Process
pinMode
Declarations
wiring.module
:61Process pinMode
PROC pinMode (VAL INT board.pin, mode)
wiring.module
:71Process digitalWrite
PROC digitalWrite (VAL INT board.pin, level)
wiring.module
:81Process digitalRead
PROC digitalRead (VAL INT board.pin, RESULT INT level)
wiring.module
:113Process analogRead
PROC analogRead (VAL INT analog.pin, adc.ref, RESULT INT val)
wiring.module
:119Process analogWrite
PROC analogWrite (VAL INT board.pin, VAL BYTE value)
wiring.module
:126Process Serial.begin
PROC Serial.begin (VAL INT32 speed)
wiring.module
:130Process Serial.end
PROC Serial.end ()
wiring.module
:136Function Serial.available
INT FUNCTION Serial.available ()
wiring.module
:140Process Serial.read
PROC Serial.read (RESULT BYTE b)
wiring.module
:144Process Serial.flush
PROC Serial.flush ()
wiring.module
:193Process Serial.printByte
PROC Serial.printByte (VAL BYTE val)
wiring.module
:197Process Serial.printHex
PROC Serial.printHex (VAL INT val)
wiring.module
:203Process Serial.write
PROC Serial.write (VAL []BYTE string)