??? 04/16/08 13:40 Read: times |
#153471 - Placeholders for array data Responding to: ???'s previous message |
Since I was getting "can not add two pointers together", what I've done was assign byValue1 and byValue2 as a place holder for each array member 0 and 1 then then conconetate the two byValues together to "build" the device in hex.
So for example you type 2 in the edit box, its captured, converted to hex, stored in byValue1, type 3, its captured, converted to hex, stored in byValue2, and then "device" is the concanotation of the two byValues together, and that device "byte" is sent via I2C to communicated with the slave MPU, ADC, and EEPROM in hardware. It was really just a way to get around the pointer errors that I wasn't sure how to get running properly. Does that makes sense? If it wasn't for him trying to put the "0x" back into the edit box after you type in the needed value, none of this would be an issue. I've tried to convince them to just use a static text for the "0x" designator, but they want the original funcationality even though it has been problematic..... |
Topic | Author | Date |
C++, 8051, cleaning up a mess......need advise | 01/01/70 00:00 | |
Trying to convert after typing is too hard | 01/01/70 00:00 | |
Take a look here... | 01/01/70 00:00 | |
I gave that a run, | 01/01/70 00:00 | |
Maybe this will help | 01/01/70 00:00 | |
Thanks Russ, some thoughts | 01/01/70 00:00 | |
More thoughts | 01/01/70 00:00 | |
Your right, you know how it is | 01/01/70 00:00 | |
Is this it? | 01/01/70 00:00 | |
Well, no | 01/01/70 00:00 | |
Hopefully I can answer this correctly | 01/01/70 00:00 | |
Is Prosise onlin? | 01/01/70 00:00 | |
Emailed link to you | 01/01/70 00:00 | |
Two more questions | 01/01/70 00:00 | |
Placeholders for array data | 01/01/70 00:00 | |
Stop now, before you make things worse! | 01/01/70 00:00 | |
No offense taken at all | 01/01/70 00:00 | |
I got the link | 01/01/70 00:00 |