BEST C PROGRAMMERS
I am starting from scratch
i want to count up in c program the value of text and then print it on my lcd as a test program
it is working for the normal calculation but not for the c code ;
what am i doing wrong ?
the test file is attached
kind regards
puts johan belgium
ps : the char in the first line must be an int ; but doesnt solve the problem
C PROGRAMMING BASICS IN FLOWCODE
Moderator: Benj
- Dan81
- Valued Contributor
- Posts: 268
- Joined: Sun Jan 15, 2006 4:07 pm
- Location: Albi France
- Been thanked: 60 times
- Contact:
Re: C PROGRAMMING BASICS IN FLOWCODE
Hello Johan
Flowcode cannot simulate C code.
LCD was not initialised (macro LCD Start) (useful for real life)
I've modifed your C code , it is not useful to declare FCV_TEXT , Flowcode do it when you declare Text, I have also removed "main"
The file is OK with Proteus ( sorry I tested it with 16F887 and LCD on port B)
Daniel
Flowcode cannot simulate C code.
LCD was not initialised (macro LCD Start) (useful for real life)
I've modifed your C code , it is not useful to declare FCV_TEXT , Flowcode do it when you declare Text, I have also removed "main"
The file is OK with Proteus ( sorry I tested it with 16F887 and LCD on port B)
Daniel
- Attachments
-
- TESTCPROG_v2.fcf
- (6 KiB) Downloaded 271 times
Re: C PROGRAMMING BASICS IN FLOWCODE
BEST DANIEL,
Thanks for your helpful reply.I didn't know that the simulution on c code was not possible.
you talked about 'proteus ' is this something to have as electronics engineer for programming in c flowcode?
i do not know what it is...
Thanks in advance
puts johan

Thanks for your helpful reply.I didn't know that the simulution on c code was not possible.
you talked about 'proteus ' is this something to have as electronics engineer for programming in c flowcode?
i do not know what it is...
Thanks in advance
puts johan


- Dan81
- Valued Contributor
- Posts: 268
- Joined: Sun Jan 15, 2006 4:07 pm
- Location: Albi France
- Been thanked: 60 times
- Contact:
Re: C PROGRAMMING BASICS IN FLOWCODE
Hello Johan
Proteus is a software with which you can :
- draw schématics
- simulate (very interesting and powerful, and the results are very close to the real life)
- draw layout.
Very useful when your hardware is not ready.
http://www.labcenter.com/index.cfm
Daniel
Proteus is a software with which you can :
- draw schématics
- simulate (very interesting and powerful, and the results are very close to the real life)
- draw layout.
Very useful when your hardware is not ready.
http://www.labcenter.com/index.cfm
Daniel