1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Robot_Control: Update PROGMEM for compatibily with newer gcc

This commit is contained in:
Cristian Maglie
2014-07-04 18:21:01 +02:00
parent 01e0a49c51
commit 887d9be442
5 changed files with 28 additions and 28 deletions

View File

@ -1,14 +1,14 @@
#include <avr/pgmspace.h>
#include <ArduinoRobot.h>
prog_char script1[] PROGMEM="Wheel Calibration\n";
prog_char script2[] PROGMEM="1. Put Robot on a flat surface\n";
prog_char script3[] PROGMEM="2. Adjust speed with the knob on top\n";
prog_char script4[] PROGMEM="3. If robot goes straight, it's done\n";
prog_char script5[] PROGMEM="4. Use screwdriver on the trim on bottom\n";
prog_char script6[] PROGMEM="Robot turns left, screw it clockwise;\n";
prog_char script7[] PROGMEM="Turns right, screw it ct-colockwise;\n";
prog_char script8[] PROGMEM="5. Repeat 4 until going straight\n";
const char script1[] PROGMEM="Wheel Calibration\n";
const char script2[] PROGMEM="1. Put Robot on a flat surface\n";
const char script3[] PROGMEM="2. Adjust speed with the knob on top\n";
const char script4[] PROGMEM="3. If robot goes straight, it's done\n";
const char script5[] PROGMEM="4. Use screwdriver on the trim on bottom\n";
const char script6[] PROGMEM="Robot turns left, screw it clockwise;\n";
const char script7[] PROGMEM="Turns right, screw it ct-colockwise;\n";
const char script8[] PROGMEM="5. Repeat 4 until going straight\n";
char buffer[42];//must be longer than text