Page 1 of 1

Bit and Byte declarations

Posted: Tue Jun 12, 2012 10:21 am
by davet
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