View previous topic :: View next topic |
Author |
Message |
Sophi
Joined: 14 Jun 2005 Posts: 64
|
Is "byte" a data type? |
Posted: Thu Jun 23, 2005 6:34 pm |
|
|
As in (segment of code in CCS's ADC-1298 code:
void write_adc_byte(byte data_byte, byte number_of_bits) {
byte i ;
Thanks-
Sophi |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Jun 23, 2005 6:40 pm |
|
|
It's an alias for "int", which is an 8-bit unsigned integer in CCS.
It's defined in the .H file for your PIC. For example, 16F877.H
contains this line:
Look in this folder to find the .H file for your PIC:
c:\Program Files\Picc\Devices |
|
|
|