ok , mmm Im using an arduino as a go no go system , my program check IR / impulse breakdown / DCBD , if the data are out for range the led red lit else the green led lit
now this test is saving in the "eeprom" of the arduino, I need to move this datas to the pc for be saved, my question is, how I do to move those data to the pc
I just need to improve the "saving" part , all the program is fine.
Thanks buddys
I don't understand the question, sorry. Is this a coding question? If not I can move it to Project Guidance.
If I understand correctly, you just need to get your eeprom data saved on your PC.
The simplest way is to dump the EEPROM data out the serial port and display it on the Arduino Serial Monitor. You can then cut/paste/save your EEPROM data. He're a function I wrote to dump the EEPROM on an Arduino Uno.
#define EEPROM_DATA_EEPROM_SIZE 1024
void EEPROM_Data_Dump(void)
{
uint16_t address = 0;
uint8_t dump_row[16];
uint8_t idx;
while (address < EEPROM_DATA_EEPROM_SIZE)
{
eeprom_read_block(dump_row, (void*)address, sizeof(dump_row));
LT_printf(F("%04d : "), address);
for(idx = 0; idx < sizeof(dump_row); idx++)
{
LT_printf(F("%02x%c%c"), dump_row[idx], (idx != sizeof(dump_row) - 1 ? ',' : '\r'), (idx != sizeof(dump_row) - 1 ? ' ' : '\n'));
}
address += sizeof(dump_row);
}
}
I could give you LT_printf() if you really want it, but you should be able to replace it with printf() or Serial.print() statements.
steven506:
ok , mmm Im using an arduino as a go no go system , my program check IR / impulse breakdown / DCBD , if the data are out for range the led red lit else the green led lit
now this test is saving in the "eeprom" of the arduino, I need to move this datas to the pc for be saved, my question is, how I do to move those data to the pc
I just need to improve the "saving" part , all the program is fine.
Thanks buddys
_4040_Release_A3.ino (12.8 KB)
Hello friends
Ill attach my code , What I nedd?? = save analogic data , the input analogic data from my arduino and send it to my pc , in excel or something , a will use labview, but it does not matter, I need to move my analogic data .
Thanks & regards
_4040_Release_A3.ino (12.8 KB)