Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- uint8_t overflow()
- {
- if ((result/10000) > 0)
- return 1;
- else
- return 0;
- }
- uint8_t underflow()
- {
- if (result< 0)
- return 1;
- else
- return 0;
- }
- void equalTo()
- {
- if (underflow() == 1)
- blink();
- else if (overflow() == 1)
- blink();
- else
- numToTable(result);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement