HID Data Transfert without eeprom_write_block/eeprom_read_bl
Posted: Sat Sep 24, 2011 2:06 am
Hi,
I just update vusb-for-arduino (http://code.google.com/p/vusb-for-arduino/
) with the latest version of V-USB(20100715) (only the HID Data part).
The vusb-for-arduino example sketch works fine with the C command line hidtool.exe provided as example (see attachment http://arduino.cc/forum/index.php/topic ... #msg549623)
My goal is to do a gmail notifier http://www.justblair.co.uk/the-attiny45 ... ifier.html but with a Atmega328 a the Arduino IDE
Here is where I need help:
The comunication between the firmware hid-data\main.c and the Arduino is done by implementing a data store of 128 bytes in EEPROM (eeprom_write_block/eeprom_read_block). I really want to avoid using the EEPROM (it is slow and the lifespan is limited at 100000 writes).
I don’t know enought C to implement a differrent way to transfer the data between the VUSB\hid-data\main.c and the Arduino (Can an array in the RAM passed between the hid-data\main.c and Arduino do the job) ?
Thank you for your help.
I just update vusb-for-arduino (http://code.google.com/p/vusb-for-arduino/
) with the latest version of V-USB(20100715) (only the HID Data part).
The vusb-for-arduino example sketch works fine with the C command line hidtool.exe provided as example (see attachment http://arduino.cc/forum/index.php/topic ... #msg549623)
My goal is to do a gmail notifier http://www.justblair.co.uk/the-attiny45 ... ifier.html but with a Atmega328 a the Arduino IDE
Here is where I need help:
The comunication between the firmware hid-data\main.c and the Arduino is done by implementing a data store of 128 bytes in EEPROM (eeprom_write_block/eeprom_read_block). I really want to avoid using the EEPROM (it is slow and the lifespan is limited at 100000 writes).
I don’t know enought C to implement a differrent way to transfer the data between the VUSB\hid-data\main.c and the Arduino (Can an array in the RAM passed between the hid-data\main.c and Arduino do the job) ?
Thank you for your help.