Hello everyone, this is my first post and my first real endeavor into such a project. First of all, I would like to commend Cypress for the state-of-the-art technology.
I just started using PSoC a few days ago and am using the CYONS2000xLBxC for laser navigation purposes.
I am using the PSoC Designer 5.1.
I believe I have initialized communication between the CYONS2000-LBxC and the MCU via I2C. I have simply used the source code "Example_I2CHW" from Cypress's Source Code section and am having a tough time writing the C code to access the respective registry in which I would like to extract data from.
The data I wish to extract is that of the X and Y displacements sensed, which is recognized by the number of counts acknowledged (i.e. 800 Counts = 1 inch). This data needs to be transmitted using the I2C and into the MCU interface so that the positional values are attained.
At this stage, I am using the Example_I2CHW project as a base and am trying to write valid code so that this objective is met. Am I on the right track? Is there any helpful references you could supply me with? Am I even making sense?
Thanks a million in advance,