![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
working code of bae with i2c
Fork of all_combined_week6 by
Diff: ACS.cpp
- Revision:
- 7:47e07755d9a4
- Parent:
- 6:82153349cc9b
--- a/ACS.cpp Tue Jul 15 10:04:38 2014 +0000 +++ b/ACS.cpp Thu Sep 18 10:29:33 2014 +0000 @@ -1,8 +1,8 @@ #include "ACS.h" -PwmOut PWM1(p6); //Functions used to generate PWM signal - //PWM output comes from pins p6 +PwmOut PWM1(p5); //Functions used to generate PWM signal + //PWM output comes from pins p6 Serial pc1(USBTX, USBRX);