This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import turtle | |
window = turtle.Screen() # set up the window color and title | |
window.bgcolor("black") | |
window.title("an educational exercise") | |
treeherder = turtle.Turtle() # create a turtle | |
treeherder.color("green") # make him draw a green line | |
treeherder.pensize(5) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SoftwareSerial.h> | |
SoftwareSerial serial_device(7, 8); | |
unsigned char buff[512]; /* buffer */ | |
int index=0; | |
void setup() | |
{ | |
serial_device.begin(19200); /* baud rate */ | |
Serial.begin(19200); /* works better when they match*/ | |
NewerOlder