#include "SFBTypes.h"
#include "SFBConstants.h"
#include "SFBPins.h"
#include "lpc/timer.h"


Go to the source code of this file.
Functions | |
| void | digitalWrite (int sfbPin, int value) |
| Set a pin's value. | |
| int | digitalRead (int sfbPin) |
| Read a pin's value. | |
| void | ledOn (int sfbPin) |
| Turn on one of the SFB built-in LEDs. | |
| void | ledOff (int sfbPin) |
| Turn off one of the SFB built-in LEDs. | |
| void | ledSet (int sfbPin, bool on) |
| Turn on or off one of the SFB built-in LEDs. | |
| bool | ledIsOn (int sfbPin) |
| Check if one of the SFB built-in LEDs is on or off. | |
| void | ledToggle (int sfbPin) |
| Toggle one of the SFB built-in LEDs. | |
| void | pinMode (int sfbPin, int mode) |
| Set a pin's function to input or output. | |
| void | delayMicroseconds (u32 usecondsToWait) |
| Delay for some number of microseconds. | |
| void | delayMicrosecondsApproximate (u32 usecondsToWait) |
| void | delay (u32 millissecondToWait) |
| Delay for some number of milliseconds. | |
| void | shiftOut (int dataPin, int clockPin, int bitOrder, u8 val) |
| u32 | pulseIn (int pin, int state, u32 timeoutUsec=1000000) |
| void digitalWrite | ( | int | sfbPin, | |
| int | value | |||
| ) |
Set a pin's value.
Also used to set the pullup (or pulldown) resistors on input pins.
| bool ledIsOn | ( | int | sfbPin | ) | [inline] |
Check if one of the SFB built-in LEDs is on or off.
true if the sfbPin is on, false otherwise | void pinMode | ( | int | sfbPin, | |
| int | mode | |||
| ) |
Set a pin's function to input or output.
SFB extension: Set to 'reflex mode'.