keybrd library is an open source library for creating custom-keyboard firmware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

LED_AVR.cpp 195B

1234567891011
  1. #include "LED_AVR.h"
  2. void LED_AVR::on()
  3. {
  4. PORT |= pin; //set pin high
  5. }
  6. void LED_AVR::off()
  7. {
  8. PORT &= ~pin; //set pin low
  9. }