Bit and Byte declarations
Posted: Tue Jun 12, 2012 10:21 am
Hi
I am wanting to migrate some code I made using the CCS C compiler for use within Flowcode 5. All the bit and byte declarations will have to be put in using the supplementary code form I presume. Not being familiar with High Tech C, what is the correct syntax for doing this?
In CCS for example:
#byte adcon0 = 0x1f and
#bit triac = gpio.5
and also the syntax for function prototypes.
how would this go for inclusion via the suplementary code form.
Many thanks.
Dave
I am wanting to migrate some code I made using the CCS C compiler for use within Flowcode 5. All the bit and byte declarations will have to be put in using the supplementary code form I presume. Not being familiar with High Tech C, what is the correct syntax for doing this?
In CCS for example:
#byte adcon0 = 0x1f and
#bit triac = gpio.5
and also the syntax for function prototypes.
how would this go for inclusion via the suplementary code form.
Many thanks.
Dave