- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Michal,
Solved! Go to Solution.
- Labels:
-
PSoC 6 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you please follow the code as used in the code example attached with this email. Please test the same code flow and let us know if it does not work. The code example also reads 3 bytes.
Thanks
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Ganesh,
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 😉
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Thanks.