Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static unsigned int mysort(unsigned int ival)
- {
- byte mytempival = 0;
- for (int i = 0; i < 8; i++) {
- if (ival & (1 << i)) {
- mytempival |= (1 << MeineFolge[i]);
- Serial.println(i);
- }
- } return mytempival;
- }
Add Comment
Please, Sign In to add comment