Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Arduino Code
- void setup() //Initial setups, these are called once on startup only
- {
- Serial.begin(19200); //Start serial connection to PC
- Serial1.begin(19200); //Start listening to Electric Imp
- Serial.println("Platform ready."); //Message that platform is ready for commands
- Serial1.print("Platform ready."); //Message to Imp
- }
- void loop()
- {
- Serial1.write("Hello World");
- }
- //Notes: The Hello World and Platform Ready strings never show up in the Imp's server log.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement