Wang Shun Min
Newbie level 1
- Joined
- Jun 13, 2013
- Messages
- 1
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 11
#define EE_READ 0x03 // EEPROM Read command
char HighByte,LowByte;
int convert_byte (HighByte,LowByte);
HighByte = EE_Read (0X07FE);
LowByte = EE_Read(0x07FE);
address= convert_byte(HighByte,LowByte); // return the converted value of high & low byte to the address
---------------------------------------------------------------------------------------------------------
above is an extract of my code. may i know what does it means to have a declare functions follow by a bracket. (e.g. int convert_byte (HighByte,LowByte); ).
i would also like to know what does this means>>>>>>> "HighByte = EE_Read (0X07FE);"
thanks
char HighByte,LowByte;
int convert_byte (HighByte,LowByte);
HighByte = EE_Read (0X07FE);
LowByte = EE_Read(0x07FE);
address= convert_byte(HighByte,LowByte); // return the converted value of high & low byte to the address
---------------------------------------------------------------------------------------------------------
above is an extract of my code. may i know what does it means to have a declare functions follow by a bracket. (e.g. int convert_byte (HighByte,LowByte); ).
i would also like to know what does this means>>>>>>> "HighByte = EE_Read (0X07FE);"
thanks
Last edited: