Search results

  1. R

    Hitting Watchdog Too Often

    Try with: #include <Adafruit_SleepyDog.h> elapsedMillis wdMillis; void setup() { Watchdog.enable(5000); } void loop() { if (wdMillis > 4900) { wdMillis = 0; Watchdog.reset(); } }
  2. R

    Teensy 3.6 - Dynamic CPU clock switching

    Thanks, Paul. Much appreciated. Yes, understandable. But what about FIFO buffer? Would it be a good practice to redefine it every time after Serial re-init? UART0_C1 = UART_C1_ILT; UART0_TWFIFO = 2; UART0_RWFIFO = 4; UART0_PFIFO = UART_PFIFO_TXFE | UART_PFIFO_RXFE; One more thing I forgot to...
  3. R

    Teensy 3.6 - Dynamic CPU clock switching

    Hi, all. Board: Teensy 3.6 Basic idea is for Teensy to run at 24 MHz while doing some non demanding background tasks until receiving request via HW Serial. After that, clock is restored to 180 MHz and stays in that state until requested tasks are done and then goes back to 24 MHz. Teensy...
Back
Top