Not sure if i have posted this in the correct place ,
Is it possable to put a remark stament or title at the start of the c file ?
I have a modified LCD Dispaly file that Ben did for me and have on several occaisions got the files mixed up
is it somthing like this ? (SORRY IF THIS IS WRONG AS IT IS A COMPLETE GUESS) i am looking about for some examples
\\ 2 wire lcd display
or
\\ original lcd display
ben modified files here
http://www.matrixmultimedia.com/mmforum ... f=2&t=8808
Steve
Component C Files in flowcode
Moderator: Benj
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
- Contact:
Re: Component C Files in flowcode
Hi Steve
Normal way to comment in a C file is
/* This is a comment */
Not tried it in a C box in FC though
It can be spread over more than 1 line
/* This is a comment
So is this
And this
*/
Normal way to comment in a C file is
/* This is a comment */
Not tried it in a C box in FC though
It can be spread over more than 1 line
/* This is a comment
So is this
And this
*/
1 in 10 people understand binary, the other one doesn't !
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Component C Files in flowcode
Hi Johns correct.
But your Nearly correct ...You have got the wrong slash its not > \\
but it's forward slash > //
You can tell if commented if using a C code box as text goes from Black to Green.
You can also use // place commen here
In a calculation box, but text stays black.
But your know if it's correct as you will not get an error when you click OK
Martin
But your Nearly correct ...You have got the wrong slash its not > \\
but it's forward slash > //
You can tell if commented if using a C code box as text goes from Black to Green.
You can also use // place commen here
In a calculation box, but text stays black.
But your know if it's correct as you will not get an error when you click OK
Martin
Martin
- Steve001
- Valued Contributor
- Posts: 1189
- Joined: Wed Dec 31, 2008 3:37 pm
- Has thanked: 460 times
- Been thanked: 523 times
- Contact:
Re: Component C Files in flowcode
Cheers guys ,
So this is correct ?
/ original LCD
/*********************************************************************
* Flowcode LCD Display Component Code
*
* File: PIC_LCD.c
*
* (c) 2009 Matrix Multimedia Ltd.
* http://www.matrixmultimedia.com
*
* Software License Agreement
Not got chance to try tonight maybe this weekend
Flowcode not going to get upset with additional extra line. / original LCD
Steve
So this is correct ?
/ original LCD
/*********************************************************************
* Flowcode LCD Display Component Code
*
* File: PIC_LCD.c
*
* (c) 2009 Matrix Multimedia Ltd.
* http://www.matrixmultimedia.com
*
* Software License Agreement
Not got chance to try tonight maybe this weekend
Flowcode not going to get upset with additional extra line. / original LCD
Steve
Success always occurs in private and failure in full view.
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Component C Files in flowcode
No its as John stated.
So it will be:
Etc.
You can't start with just / without * following
Here is the PIC_LCD.c file so you can have a look
Martin
So it will be:
Code: Select all
/*********************************************************************
* Flowcode LCD Display Component Code
*
* File: PIC_LCD.c
*
* (c) 2009 Matrix Multimedia Ltd.
* http://www.matrixmultimedia.com
*
* Software License Agreement
******************************/
You can't start with just / without * following
Here is the PIC_LCD.c file so you can have a look
Martin
- Attachments
-
- PIC_LCD.c
- (14 KiB) Downloaded 245 times
Martin
- Steve001
- Valued Contributor
- Posts: 1189
- Joined: Wed Dec 31, 2008 3:37 pm
- Has thanked: 460 times
- Been thanked: 523 times
- Contact:
Re: Component C Files in flowcode
doh . . thats with rushing thanks guys
steve
steve
Success always occurs in private and failure in full view.