- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am working on a project and my team is trying to read a joystick input into a serial port. Right now I am trying to convert the joystick game controller code to meet my needs.
A second question we have regards BLE versus standard Bluetooth. Is it possible to use regular Bluetooth to connect to the PSoC?
Please let me know how this could be accomplished.
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Welcome in the forum!
The expression
X_Axis = SAR_ADC_GetResult16(0) *0xFF /0x7FF; /* Get ADC reading and store in variable X_Axis */
might not give the expected result due to overflow and intterpretation of 0xFF a positive or negative number. Write 0xFFu for unsigned.
You did not tell what errors you have got.
BLE is not compatible to "normal" Bluetooth.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Welcome in the forum!
The expression
X_Axis = SAR_ADC_GetResult16(0) *0xFF /0x7FF; /* Get ADC reading and store in variable X_Axis */
might not give the expected result due to overflow and intterpretation of 0xFF a positive or negative number. Write 0xFFu for unsigned.
You did not tell what errors you have got.
BLE is not compatible to "normal" Bluetooth.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content