Hello I am using PSOC 062 BLE with max30101 heart sensor,
I wanted to read data using burst read function defined as:
Pseudo code for reading:
example output i beleive everything I am doing is fine:
However when I want to retrieve those values program doesn't save them in buffer:
For now I want to save 3 bytes of "LED1" mentioned in pseudo code.
I have tried different options but nothing have helped. Any one knows whats going on?
I would really appreciate any help ;), thanks in advance.
Solved! Go to Solution.
The problem was with parameter to which MasterReadByte saved value. I have changed &value to databuf[i] in the for loop and everything works perfectly now 😉
Hello the problem was with parameter responsible for saving data to variable in MasterReadByte which is &value in my case. I have changed it to databuf[i] and everything works perfectly now.