Bit and Byte declarations

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
davet
Posts: 27
Joined: Mon Jun 11, 2012 11:08 am
Been thanked: 1 time

Bit and Byte declarations

Post 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

Post Reply