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 ACS712 by
main.cpp@0:a35011a2fdaa, 2016-03-09 (annotated)
- Committer:
- mikeb
- Date:
- Wed Mar 09 04:19:10 2016 +0000
- Revision:
- 0:a35011a2fdaa
- Child:
- 1:4f9effb20c29
Lab 4 Version A. Untested, but basics are there
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| mikeb | 0:a35011a2fdaa | 1 | #include <mbed.h> |
| mikeb | 0:a35011a2fdaa | 2 | #include "ACS712.h" |
| mikeb | 0:a35011a2fdaa | 3 | |
| mikeb | 0:a35011a2fdaa | 4 | int main(){ |
| mikeb | 0:a35011a2fdaa | 5 | ACS712 dev(p18); |
| mikeb | 0:a35011a2fdaa | 6 | |
| mikeb | 0:a35011a2fdaa | 7 | } |
