Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SIGNAL (SIG_PCINT)
- {
- int pbm = PINB;
- if (pbm & (0<<PINB1)) {
- while (PINB & (0<<PINB1));
- a();
- // initialize
- }
- if (pbm & (0<<PINB0)) {
- while (PINB & (0<<PINB0));
- b();
- // send out codes
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement