mirror of
https://github.com/YikeStone/ros_arduino_bridge.git
synced 2025-08-05 20:14:07 +05:30
Replaced all strings with F() macro in Serial.print statements
This commit is contained in:
parent
9a84380e7c
commit
142e529de9
@ -22,13 +22,11 @@
|
|||||||
{
|
{
|
||||||
/* There was a problem detecting the LSM303 ... check your connections */
|
/* There was a problem detecting the LSM303 ... check your connections */
|
||||||
Serial.println(F("Ooops, no LSM303 detected ... Check your wiring!"));
|
Serial.println(F("Ooops, no LSM303 detected ... Check your wiring!"));
|
||||||
while(1);
|
|
||||||
}
|
}
|
||||||
if(!mag.begin())
|
if(!mag.begin())
|
||||||
{
|
{
|
||||||
/* There was a problem detecting the LSM303 ... check your connections */
|
/* There was a problem detecting the LSM303 ... check your connections */
|
||||||
Serial.println("Ooops, no LSM303 detected ... Check your wiring!");
|
Serial.println(F("Ooops, no LSM303 detected ... Check your wiring!"));
|
||||||
while(1);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user