Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of ArduinoHAL by
Arduino.h@0:a4ee09d0d765, 2011-06-04 (annotated)
- Committer:
- rbohne
- Date:
- Sat Jun 04 19:44:05 2011 +0000
- Revision:
- 0:a4ee09d0d765
- Child:
- 1:c9f5b6330d8d
digitalWrite, digitalRead, and pinMode implemented
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| rbohne | 0:a4ee09d0d765 | 1 | #include "mbed.h" |
| rbohne | 0:a4ee09d0d765 | 2 | |
| rbohne | 0:a4ee09d0d765 | 3 | #define HIGH 0x1 |
| rbohne | 0:a4ee09d0d765 | 4 | #define LOW 0x0 |
| rbohne | 0:a4ee09d0d765 | 5 | |
| rbohne | 0:a4ee09d0d765 | 6 | #define INPUT 0x0 |
| rbohne | 0:a4ee09d0d765 | 7 | #define OUTPUT 0x1 |
| rbohne | 0:a4ee09d0d765 | 8 | |
| rbohne | 0:a4ee09d0d765 | 9 | //#define true 0x1 |
| rbohne | 0:a4ee09d0d765 | 10 | //#define false 0x0 |
| rbohne | 0:a4ee09d0d765 | 11 | |
| rbohne | 0:a4ee09d0d765 | 12 | |
| rbohne | 0:a4ee09d0d765 | 13 | void pinMode(int, int); |
| rbohne | 0:a4ee09d0d765 | 14 | void digitalWrite(int, int); |
| rbohne | 0:a4ee09d0d765 | 15 | int digitalRead(int); |
