/*
GR-SAKURA USB Virtual Serial Comm Port ExampleTo 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: http://japan.renesasrulz.com/gr_user_forum_japanese/f/4/t/82.aspx
GR-SAKURA COM Driver Location: http://japan.renesasrulz.com/cfs-filesystemfile.ashx/__key/telligent-evolution-components-attachments/00-04-01-00-00-00-04-13/sakura_2D00_vcom_2D00_drv.zip
*/#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, Serial.write(Serial.read()); digitalWrite(PIN_LED3, ++count & 1); // LED D4 turns on. }}
Hi!
I can't find the driver on this location :(
I think, it's a bit tricky as Rulz seems to select your "default" language, which is English.
Please try the following:
1. click on language selector in the the upper right corner and select Japanese ( 日本語 )
Then the Japan Rulz should come up with the URL: japan.renesasrulz.com
2. now just paste the URL above into the browser. You can either use the issue URL japan.renesasrulz.com/.../82.aspx and you should find a link on that page in the comments if you scroll down, or just paste the URL for the ZIP directly into the browser.
I hope, this works also for you as it worked for me.
By the way: it seems that the USB will not be installed every time at COM4. On my laptop it was using COM6, on my desktop it was using COM9.
The best way to find out is to take a look to the Device Manager under Windows. It tells you, which COM port is used for the GR-Sakura device.
hope that helps.
Thank you! It works! (COM6)
Click on the Files menu (on left side of this page).
Istvan, and whoever add the file, many thanks indeed!