16
Bus Pirate Support / Re: Continious logic analyzer mode?
Sorry for sorta highjacking this thread a little, but it gave me an idea, what about a menu option for running 'user' defined functions, like for example user functions 1-5 will goto null routines, but anyone willing to get the IDE+Compiler out and do a little coding can add there own functions to the original framework and people can post there wierd and wonderful functions to the forum
Like myself at the moment, i'm working on a little I2C sniffer for capturing at 400khz via a buffer then sending to the console after capture, I will be posting this, once i've tidied it up abit
Just an idea anyways
Back to the original question, I think what your asking is possible with a little snipet of code, but I think your always gonna have some lag sending back to the console, unless you buffer, but then the buffer will fill at some point and need to be sent back, like the logic analyzer does, I guess depends on how fast you wanna do your sampling without missing information, like for example you could transmit a 0 or 1 back to the console everytime the pin changes or capture 8 bits and send a byte back, but if the pin changes too fast, the previous byte might not of sent yet, if I've got that correct, I've only just started to dabble with the coding side

Darren