pack bits in a struct c++ / arduino – stackoverflow.com

I have a struct: typedef struct { uint8_t month; // 1..12 [4 bits] uint8_t date; // 1..31 [5 bits] uint8_t hour; // 00..23 [5 bits] uint8_t minute; // 00..59 [6 bits] uint8_t second; ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "pack bits in a struct c++ / arduino – stackoverflow.com"