aboutsummaryrefslogtreecommitdiff
path: root/libraries/Robot_Control/utility/scripts_Hello_User.h
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2013-08-23 15:59:24 +0200
committerCristian Maglie <c.maglie@bug.st>2013-08-23 15:59:24 +0200
commit540743129b2badb813b703208d121ff14553c147 (patch)
tree6fadb4ebce68e1f0cb298a282be135c23fd156ed /libraries/Robot_Control/utility/scripts_Hello_User.h
parent073b3ac9d4ae93ac0bb3a91afc65ae9d8f1d5d59 (diff)
parent67c84855c2f3ce99b091a756bb2ca1a016260659 (diff)
Merge branch 'ide-1.5.x' into dev-ide-1.5.x-discovery
Conflicts: app/src/processing/app/Preferences.java app/src/processing/app/debug/Uploader.java
Diffstat (limited to 'libraries/Robot_Control/utility/scripts_Hello_User.h')
-rw-r--r--libraries/Robot_Control/utility/scripts_Hello_User.h51
1 files changed, 0 insertions, 51 deletions
diff --git a/libraries/Robot_Control/utility/scripts_Hello_User.h b/libraries/Robot_Control/utility/scripts_Hello_User.h
deleted file mode 100644
index 29f085f..0000000
--- a/libraries/Robot_Control/utility/scripts_Hello_User.h
+++ /dev/null
@@ -1,51 +0,0 @@
-#include <avr/pgmspace.h>
-
-//an advanced trick for storing strings inside the program space
-//as the ram of Arduino is very tiny, keeping too many string in it
-//can kill the program
-
-prog_char hello_user_script1[] PROGMEM="What's your name?";
-prog_char hello_user_script2[] PROGMEM="Give me a name!";
-prog_char hello_user_script3[] PROGMEM="And the country?";
-prog_char hello_user_script4[] PROGMEM="The city you're in?";
-prog_char hello_user_script5[] PROGMEM=" Plug me to\n\n your computer\n\n and start coding!";
-
-prog_char hello_user_script6[] PROGMEM=" Hello User!\n\n It's me, your robot\n\n I'm alive! <3";
-prog_char hello_user_script7[] PROGMEM=" First I need some\n\n input from you!";
-prog_char hello_user_script8[] PROGMEM=" Use the knob\n\n to select letters";
-prog_char hello_user_script9[] PROGMEM=" Use L/R button\n\n to move the cursor,\n\n middle to confirm";
-prog_char hello_user_script10[] PROGMEM=" Press middle key\n to continue...";
-prog_char hello_user_script11[] PROGMEM=" Choose \"enter\" to\n\n finish the input";
-
-PROGMEM const char *scripts_Hello_User[]={
- hello_user_script1,
- hello_user_script2,
- hello_user_script3,
- hello_user_script4,
- hello_user_script5,
- hello_user_script6,
- hello_user_script7,
- hello_user_script8,
- hello_user_script9,
- hello_user_script10,
- hello_user_script11,
-};
-
-/*
-void getPGMtext(int seq){
- //It takes a string from program space, and fill it
- //in the buffer
- strcpy_P(buffer,(char*)pgm_read_word(&(scripts[seq])));
-}
-
-void writeScript(int seq, int line, int col){
- //print a string from program space to a specific line,
- //column on the LCD
-
- //first fill the buffer with text from program space
- getPGMtext(seq);
- //then print it to the screen
- textManager.writeText(line,col,buffer);
-}
-
-*/ \ No newline at end of file