My thanks for this information. I have installed the avros library and it works quite well. I needed to add delimited text command streams to the code so chose to use '$' as a beginning command delimiter, so am able to process my commands in that fashion (trailing character is CR).
However, I would like some additional information on using the monitor command(s) on a pin (or pins). Using the flash memory for a command stream is also very interesting but I would need greater understanding of that very slick capability. Any particular references I can find for these options?
to use prefix $ you can write main loop like:
int cmd = read_chr(READ_TIMEOUT_FIRST);
switch (cmd) {
//case 'x': // your commands
case '$': // lib commands starting from $: example: $w13,1
cmd_parse( read_chr() );
}
best way to understand monitor and EPROM command source - reading avros.h
EPROM now is linear source without conditions, but i think about GOTO-like commands.
I have successfully implemented my own '$' command for my text oriented command streams. It works quite well.
I have read avros.h and absorbed all that it provides. What I am missing is some of the conceptual basis for the EEPROM capability (how is it part of the Arduino firmware on the board), and the monitor function. For example, is it possible to have multiple concurrent command streams running out of EEPROM? What is the coding setup for for the monitor command (can there be multiple concurrent monitor commands running and can there be conditioned outputs from the monitor command results?)
Do you know if there is availabe documentation for the internal Arduino firmware that can be exploited by a running sketch?