Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- int main() {
- unsigned char leds = 0;
- leds |= (1 << 2) | (1 << 4);
- leds &= ~(1 << 1);
- if (leds & (1 << 6))
- std::cout << "LED7 е включена.\n";
- else
- std::cout << "LED7 е изключена.\n";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment