Skip to content

Instantly share code, notes, and snippets.


Will Rigby wrigby

  • New York, USA
View GitHub Profile
pklaus / arduino-due_high-speed-ADC.ino
Last active Nov 2, 2020
Arduino Due: ADC → DMA → USB @ 1MSPS
View arduino-due_high-speed-ADC.ino
// Arduino Due ADC->DMA->USB 1MSPS
// by stimmer
// from
// Input: Analog in A0
// Output: Raw stream of uint16_t in range 0-4095 on Native USB Serial/ACM
// on linux, to stop the OS cooking your data:
// stty -F /dev/ttyACM0 raw -iexten -echo -echoe -echok -echoctl -echoke -onlcr
You can’t perform that action at this time.