Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I want to stract 8 chars from a char array that will contain a lot of data and at the same time assign the stracted
I want to stract 8 chars from a char array that will contain a lot of data and at the same time assign the stracted 8chars to 9 variables consecutively.
So variables are uint32_t var1; uint32_t var2; etc ... ( 9 variables)
A char array might contain data in hex like: A34478E1 45E2A8B1 43F24376 ...etc ( there will be 9 of these values in the char array)
How could I read the char array and store the separated values in each variable uint32_t starting from the first value in the char array and the first variable???
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started