int ledPin = 13; // LED connected to digital pin 13
int i=0;
void setup() // run once, when the sketch starts
{
pinMode(ledPin, OUTPUT);
digitalWrite(ledPin, HIGH);
delay(10000);
digitalWrite(ledPin, LOW);
Serial.begin(9600);
}
void loop() // run over and over again
{
if(i==0)
{
Serial.println("ipa");
delay(100);
Serial.println("OPW test.txt");
delay(100);
Serial.println("CLF test.txt");
delay(100);
}
i=1;
}
This is a knock-off of the VDIP1 and VDIP2, using the same chip. Check the playground, tutorials, and the forum for information on this device.
There is no dedicated CTS/RTS/RI pins on the arduino - just pick the digital IOs you want and use them. You'll have to handle the handshaking yourself as well.
I think the UART is the easier interface, mostly because the SPI interface on the VNC1L chip doesn't use even 8 bit boundaries for the transfers, but the ATmega's USART expects to transfer bytes. As best I can tell, this means you'll have you bit-bang if you want to use SPI.