Last active
December 26, 2022 20:08
-
-
Save hbons/3d464ecd3da31ec6223cdde2e92565e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct myStruct *p = &myStructs[0]; // Create a pointer to the first array element | |
for (uint8_t i = 0; i != N_ELEMENTS; i++) { | |
print_f(p->value); // Access the struct | |
p++; // Advance the pointer | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment