Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added logging methods for u16 and u16 array #57

Merged
merged 3 commits into from
Sep 14, 2024

Conversation

JatoMixo
Copy link
Collaborator

@JatoMixo JatoMixo commented Sep 1, 2024

Added methods log_u16 and log_u16_array to the Logger struct. This will be useful for debugging and getting data from the line follower later, such as displaying the values of the light sensor array.

The log_u16 method will print the value with all leading zeros.

Also added tests for these methods.

@JatoMixo JatoMixo merged commit cd1246c into aindustriosa:main Sep 14, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant