Skip to content

Conversation

@DarioGHub
Copy link
Contributor

Leave cpp file with fewer lines, and attempt to make the examples more understandable for users.

import -> include, add step_count calc
Added call to update, renamed dt to steps, step_count now calculated, a few wiring notes, and some serial output.
Rename dt -> steps, step_count now calculated
loopCallback() was not reached if entered update() with repeat=1; repeat-- resulted in update returning.
Constructors contained repeated assignments; moved them to the header file. Constructors with >2 params update the property values.
Moved majority of default property value assignments here from constructors in cpp.
Readability: function pointers assigned nullptr in place of 0.
@DarioGHub DarioGHub changed the title Move most default property values to header Move many default property values to header file Nov 15, 2022
@DarioGHub DarioGHub marked this pull request as ready for review November 15, 2022 04:34
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