How to use USB virtual COM port


GR-SAKURA USB Virtual Serial Comm Port Example
To use a virtual serial port, you must use the dedicated driver "GRSAKURA.inf" for Port (COM and LPT).
The USB driver "GRSAKURA.inf" selects COM4: がじぇっとルネサス SAKURA (COM4).

Original of this example:

GR-SAKURA COM Driver Location:

#include <rxduino.h>
int count;
void setup() {
    Serial.begin(38400); // opens a virtual serial port. the baud rate parameter does nothing.
    pinMode(PIN_LED3, OUTPUT);

void loop() {
    if(Serial.available()) {                 // If any key is hit,
        digitalWrite(PIN_LED3, ++count & 1); // LED D4 turns on.