Testing the compass lib we would like to use

Dependencies:   HMC5883L mbed

Committer:
jonathanw2
Date:
Mon Dec 01 20:54:50 2014 +0000
Revision:
0:b90013a08325
Blah;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jonathanw2 0:b90013a08325 1 #include "mbed.h"
jonathanw2 0:b90013a08325 2 #include "HMC5883L.h"
jonathanw2 0:b90013a08325 3
jonathanw2 0:b90013a08325 4 DigitalOut myled(LED1);
jonathanw2 0:b90013a08325 5
jonathanw2 0:b90013a08325 6 HMC5883L myCompass(D14,D15);
jonathanw2 0:b90013a08325 7 Serial pc(USBTX, USBRX);
jonathanw2 0:b90013a08325 8
jonathanw2 0:b90013a08325 9 int main() {
jonathanw2 0:b90013a08325 10 while(1) {
jonathanw2 0:b90013a08325 11
jonathanw2 0:b90013a08325 12 }
jonathanw2 0:b90013a08325 13 }