dev-board-io.h 797 B

123456789101112131415161718192021222324252627282930313233
  1. #pragma once
  2. #include "teensy-3-6-digital-io.h"
  3. static const DigitalPort P0_PUSH_BUTTON = DigitalPort::D8 ;
  4. static const DigitalPort P1_PUSH_BUTTON = DigitalPort::D9 ;
  5. static const DigitalPort P2_PUSH_BUTTON = DigitalPort::D10 ;
  6. static const DigitalPort P3_PUSH_BUTTON = DigitalPort::D11 ;
  7. static const DigitalPort P4_PUSH_BUTTON = DigitalPort::D12 ;
  8. static const DigitalPort L0_LED = DigitalPort::D3 ;
  9. static const DigitalPort L1_LED = DigitalPort::D4 ;
  10. static const DigitalPort L2_LED = DigitalPort::D5 ;
  11. static const DigitalPort L3_LED = DigitalPort::D6 ;
  12. static const DigitalPort L4_LED = DigitalPort::D7 ;
  13. static const DigitalPort ENCODER_A = DigitalPort::D0 ;
  14. static const DigitalPort ENCODER_B = DigitalPort::D1 ;
  15. static const DigitalPort ENCODER_CLIC = DigitalPort::D2 ;