logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

duck_led.h (265B)


  1. #pragma once
  2. #define RES 6000
  3. #define NS_PER_SEC (1000000000L)
  4. #define CYCLES_PER_SEC (F_CPU)
  5. #define NS_PER_CYCLE (NS_PER_SEC / CYCLES_PER_SEC)
  6. #define NS_TO_CYCLES(n) ((n) / NS_PER_CYCLE)
  7. enum Device {
  8. Device_PCBRGB,
  9. Device_STATUSLED
  10. };
  11. void show(void);