Skip to content

DF Robot - Primary Code Merge to Driver Base - #65

Open
sullynumber9 wants to merge 1 commit into
feature/df-robotfrom
feature/df_robot2
Open

DF Robot - Primary Code Merge to Driver Base#65
sullynumber9 wants to merge 1 commit into
feature/df-robotfrom
feature/df_robot2

Conversation

@sullynumber9

Copy link
Copy Markdown

Do not merge yet, using this to separte commands for PR evaluation & to make the PRs easier to work with

uint16_t ec;

uint8_t data_length;
uint16_t crc16_result;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

crc16_result is not needed in here


// No nulls, proceed with reading from the sensor

uint8_t command[8] = {0x01, 0x03, 0x00, 0x00, 0x00, 0x04, 0x44, 0x09};

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a comment describing the command structure, this seems pretty vague

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.

3 participants