I have to use an external 10 bit A/D on my project because the internal one is not fast enough. I was going to have the A/D stuff data into a FIFO memory but I am finding that these chips are difficult to work with and do not have 10 bits. So I want to create a little test code to see how fast I can read a 10 bit word off the data bus, 20 times, and put those in a 20 word array in RAM. I am guessing that writing to RAM will be the fastest way to do this (vs EEPROM or FLASH). I need to do all 20 reads and writes in 2 us. to make this work.
Also, I know there are some added commands for Teensy such as digitalwritefast. Is there a listing somewhere of all these extra commands? I don't see any 16 bit word commands in the Arduino code, just byte and bit commands.
Thanks, I have only minimal C experience.
Also, I know there are some added commands for Teensy such as digitalwritefast. Is there a listing somewhere of all these extra commands? I don't see any 16 bit word commands in the Arduino code, just byte and bit commands.
Thanks, I have only minimal C experience.