Search results

  1. A

    Tutorial on digital I/O, ATMega PIN/PORT/DDR D/B registers vs. ARM GPIO_PDIR / _PDOR

    Oh my god, it works! Thank you so much, Frank! I see, so what you meant by the code being too fast, would be that the decoder couldn't keep up! Now it runs at ~2.7 milliseconds :D
  2. A

    Tutorial on digital I/O, ATMega PIN/PORT/DDR D/B registers vs. ARM GPIO_PDIR / _PDOR

    Hmm, it kind of defeats the purpose of running at 24MHz, I was intending to have it as fast as possible. Update : I found the issue (or I hope it is the issue). I had the nagging suspicion that the registers are not refreshing properly when I call them, so I removed all the digitalRead's...
  3. A

    Tutorial on digital I/O, ATMega PIN/PORT/DDR D/B registers vs. ARM GPIO_PDIR / _PDOR

    help! thanks! Hello everyone! I happened to stumble onto this thread and realized this would be perfect for reading the HCTL-2022 quadrature decoding counter, which gives 32 bits in counts, shuffling between 4 x 8 bits. Currently I am using a teensy 3.2, and looking through its schematic found...
Back
Top