Commit a2bf14fd authored by Alan Marchiori's avatar Alan Marchiori
Browse files

moved into folder

parent eb544cda
#include <LiquidCrystal.h>
#include <stdio.h>
static FILE uartout = {0};
LiquidCrystal lcd(8,9,4,5,6,7);
static int uart_putchar(char c, FILE *stream)
{
Serial.write(c);
return 0;
}
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
fdev_setup_stream(&uartout, uart_putchar, NULL, _FDEV_SETUP_WRITE);
stdout = &uartout;
printf("startup\n");
lcd.begin(16,2);
lcd.setCursor(0,0);
lcd.write("hello");
}
void loop() {
// put your main code here, to run repeatedly:
printf ("hello\n");
delay(500);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment