Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "hwlib.hpp"
- int main() {
- // IR output LED
- auto ir = hwlib::target::d2_36kHz();
- for(;;){
- ir.write(1);
- ir.flush();
- ir.write(0);
- ir.flush();
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement