Replaced all strings with F() macro in Serial.print statements

This commit is contained in:
Patrick Goebel 2016-04-06 06:29:51 -07:00
parent 9a84380e7c
commit 142e529de9

View File

@ -22,13 +22,11 @@
{
/* There was a problem detecting the LSM303 ... check your connections */
Serial.println(F("Ooops, no LSM303 detected ... Check your wiring!"));
while(1);
}
if(!mag.begin())
{
/* There was a problem detecting the LSM303 ... check your connections */
Serial.println("Ooops, no LSM303 detected ... Check your wiring!");
while(1);
Serial.println(F("Ooops, no LSM303 detected ... Check your wiring!"));
}
}