Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- byte convertBinToDec() {
- byte result = 0;
- for(int i = 0; i < numBits; i++) {
- result |= masterBinCountIn[(11-i)] << i;
- }
- return result;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement