Demo of the ACS712 Library

Dependencies:   Servo mbed

Fork of ece4180_lab4_ACS712 by Gedeon Nyengele

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?

UserRevisionLine numberNew 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 }