Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #if defined(ARDUINO) && ARDUINO > 18
- #include <SPI.h>
- #endif
- #include <string.h>
- // #wtf this whole thing works
- String stringOne = "Hello String"; // char var[13] right? = 12 char + null?
- String argh[3][3]={
- {stringOne,stringOne,stringOne},
- {stringOne,stringOne,stringOne},
- {stringOne,stringOne,stringOne}
- };
- // String fuck[3][3][20]; // yet this doesn't work? *scratches head* #wtf
- void setup() {
- Serial.begin(9600);
- Serial.println( argh[0][1] );
- delay(1000);
- argh[0][1]="TeeHee";
- Serial.println( argh[0][1] );
- delay(1000);
- }
- void loop()
- {
- Serial.println( argh[0][1] );
- delay(1000);
- }
Advertisement
Add Comment
Please, Sign In to add comment