??? 02/04/09 22:17 Read: times |
#162074 - I must be stuck on stupid Responding to: ???'s previous message |
oh yeah, i forgot to update it with the MAX_NUMBYTE_TX[], i copied and pasted the prototype into the i2cmaster.c file....and now I'm getting a different error:
I2C.H(25): error C141: syntax error near '*', expected ')' and it still points to the prototype as the error In the .h file extern unsigned char i2c_transmit(unsigned char address, uchar *transmit_bytes[], uchar MAX_NUMBYTE_TX[]); In the .c file extern unsigned char i2c_transmit(unsigned char address, uchar *transmit_bytes[], uchar MAX_NUMBYTE_TX[]){} I've been boning up on pointers since I wrote this first post, I looks like it should work.....oh well, at least I'm learning a bit. thanks the guidance by the way, hopefully I can get this figured. chris |
Topic | Author | Date |
dynamic parameters in an I2C definition possible? | 01/01/70 00:00 | |
how about | 01/01/70 00:00 | |
trans_byte buffer? | 01/01/70 00:00 | |
something like: | 01/01/70 00:00 | |
Updated, but errors on my part | 01/01/70 00:00 | |
This | 01/01/70 00:00 | |
I must be stuck on stupid | 01/01/70 00:00 | |
I Think it is this | 01/01/70 00:00 | |
Array of pointers to characters | 01/01/70 00:00 | |
Try this code | 01/01/70 00:00 | |
Works great!...One question though | 01/01/70 00:00 | |
The warning is real | 01/01/70 00:00 | |
Not exactly as I coded | 01/01/70 00:00 | |
Update......Problem solved![]() | 01/01/70 00:00 |