#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 10, 5, 4, 3, 2);
void setup() {
lcd.begin(16, 2);
lcd.print("hello, world!");
}
void loop() {
}
$ python -m pysimavrgui.examples.sim.arduino -c pysimavrgui/examples/arduino/lcd.pde
void setup() {
// initialize the digital pin as an output.
// Pin 13 has an LED connected on most Arduino boards:
pinMode(13, OUTPUT);
digitalWrite(13, HIGH); // set the LED on
}
void loop() {
}
$ python -m pysimavrgui.examples.sim.arduino -c pysimavrgui/examples/arduino/led.pde
void setup() {
Serial.begin(9600);
Serial.println("hello, world!");
}
void loop() {
}
$ python -m pysimavrgui.examples.sim.arduino -c pysimavrgui/examples/arduino/print.pde