test.c
376 Bytes
#include <stdio.h>
#include <stdlib.h>
#include <Serial.h>
#include <unistd.h>
//#define rxPin 0
//#define txPin 1
//SoftwareSerial mySerial = SoftwareSerial(rxPin, txPin);
void setup()
{
//DDRD = 0x02;
Serial.begin(9600);
}
void loop()
{
//if(mySerial.available() > 0)
//{
Serial.println('A');
//}
}
int main(void)
{
while(1)
{
loop();
_delay_ms(2000);
}
}