Search found 19 matches

by lungchard
Sun Apr 12, 2020 3:59 pm
Forum: General Programming
Topic: Reading Individual variable bits.
Replies: 4
Views: 3370

Re: Reading Individual variable bits.

Hello Martin, Just the ticket! Does what i need but rest of my code needs some minor tweeks to get the displayed temperature to show correct value when the 4 digits have values of 0001. This corresponds to a temperature of 0.0625 but LCD currently shows 0.625. Need to figure out how to get a leading...
by lungchard
Sun Apr 12, 2020 2:34 pm
Forum: General Programming
Topic: Reading Individual variable bits.
Replies: 4
Views: 3370

Re: Reading Individual variable bits.

Hello Martin,

Tnx for the reply, especially on a Sunday!
Do i just enter your suggested text into the decision block or is there more to it?


Best Regards

Richard Hogan.
by lungchard
Sun Apr 12, 2020 1:33 pm
Forum: General Programming
Topic: Reading Individual variable bits.
Replies: 4
Views: 3370

Reading Individual variable bits.

Hello Forum Members, I am trying to edit some code published by Medelc35 and am having difficulty in working out what to do. Bear with me as my programming knowledge is very limited. I want to test 4 individual bits in a variable and carry out some action based on their individual values. I have tri...
by lungchard
Thu Jan 09, 2014 4:53 pm
Forum: Flowcode V6
Topic: Writing strings to LCD
Replies: 7
Views: 5722

Re: Writing strings to LCD

Benj wrote:Thanks for letting me know.

I've logged the bug in our bug tracker so we should be able to get this sorted for you.
Thanks Benj.
by lungchard
Sat Jan 04, 2014 12:20 pm
Forum: Flowcode V6
Topic: Writing strings to LCD
Replies: 7
Views: 5722

Re: Writing strings to LCD

Hello Benj, Just to assist with finding this issue, i installed V6 onto my laptop running windows 7. If i use the format txt = Tostring (text) it will compile but LCD displays wrong value. If i use the format txt = string test then i get compile error as per your previous mail (error: ',' expected)....
by lungchard
Thu Jan 02, 2014 6:58 pm
Forum: Flowcode V6
Topic: Writing strings to LCD
Replies: 7
Views: 5722

Re: Writing strings to LCD

Hello Benj,

Just one point I need to mention in case it is important.
The PC computer that I use for Version 5 runs windows 7. For flowcode V6 (my home PC) runs XP.
Best Regards
Richard Hogan.
by lungchard
Thu Jan 02, 2014 2:48 pm
Forum: Flowcode V6
Topic: Writing strings to LCD
Replies: 7
Views: 5722

Re: Writing strings to LCD

Hello Benj, Happy new year and welcome back to the hot seat! I am using version V6.0.4.0 (27-11-2013). Operating system is XP. I get compiler error when i use the format txt = string test. Txt is my string variable and test is my ulong variable. See attached file for error message info. If i use txt...
by lungchard
Thu Jan 02, 2014 8:46 am
Forum: Flowcode V6
Topic: Writing strings to LCD
Replies: 7
Views: 5722

Writing strings to LCD

I have just upgraded to V6 and trying some of my old V5 programs. I have a problem with displaying strings on my LCD. I am using EB-006-00-8 with EB083-00-1. To test this issue on both versions, I created a simple flowchart in versions 5 and 6. Version 6 is attached. It works fine in version 5 but n...
by lungchard
Mon Oct 14, 2013 3:13 pm
Forum: Flowcode V5
Topic: PC Screen goes blank.
Replies: 9
Views: 6332

Re: PC Screen goes blank.

Hello Jonny,
Tried re-install but no sucess.
One thing i can add is the screen goes blank (except for cursor in top left corner and mouse pointer is a small white box) when i try compile to hex.
Not sure if this is significant or not.
Bset Regards
Richard.
by lungchard
Mon Oct 14, 2013 12:57 pm
Forum: Flowcode V5
Topic: PC Screen goes blank.
Replies: 9
Views: 6332

Re: PC Screen goes blank.

Hello Jonny,
Thanks for reply.
I will try it and see if it solves my problem.
I will advise the result to you once i have done it.
May be a day or two as i have a lot on at the moment.

Best Regards
Richard.
by lungchard
Mon Oct 14, 2013 4:26 am
Forum: Flowcode V5
Topic: PC Screen goes blank.
Replies: 9
Views: 6332

Re: PC Screen goes blank.

Hello Jonny, Thanks for reply. Just to clarify, when i first installed v5 on my home PC and laptop, both worked ok. Home PC now has screen blanking issue but appears to work on both V5 and V6. Laptop still working fine on V5. Not upgraded it yet. My home PC very occasionaly works if i unplug the USB...
by lungchard
Sun Oct 13, 2013 4:34 am
Forum: Flowcode V5
Topic: PC Screen goes blank.
Replies: 9
Views: 6332

Re: PC Screen goes blank.

Hello Jonny/Martin, Thanks for the response. I have only 1688 and 1937 as supplied with your development board. Screen goes blank as soon as you press compile to chip. As Martin suggested, may be graphics problem but it did work before. Will icd work with version 6 and a EB006 rev8 development board...
by lungchard
Sat Oct 12, 2013 7:21 pm
Forum: Flowcode V5
Topic: PC Screen goes blank.
Replies: 9
Views: 6332

PC Screen goes blank.

When i do a compile to chip, the PC screen goes blank. It returns to normal when the process is almost completed. I have just updated to version 6 and that is the same. Do i need to uninstall version 5? I hope i do not have to do this. I have just tried importing an old project into version 6 and it...
by lungchard
Sat Sep 21, 2013 4:55 pm
Forum: E-blocks
Topic: Interface Board
Replies: 2
Views: 3927

Re: Interface Board

Thanks John for the reply.
I will check it out.

Best Regards

Richard.
by lungchard
Sat Sep 21, 2013 9:54 am
Forum: E-blocks
Topic: Interface Board
Replies: 2
Views: 3927

Interface Board

Hello Matrix, Have you considered making an interface PCB that will allow the user to mix and match the connections to an E-Block? This is useful when developing a idea but do not want to use the default E-Block connections. I imagined something similar to what you have done on the EB005 board, only...
by lungchard
Mon Aug 19, 2013 5:06 pm
Forum: Flowcode V5
Topic: Newbie frustration.
Replies: 9
Views: 6695

Re: Newbie frustration.

Dazz/medelec35,

Thanks for the help.
Now working as i wanted.
One tip for the crib sheet i think.

Best Regards

Richard Hogan.
by lungchard
Sun Aug 18, 2013 6:05 pm
Forum: Flowcode V5
Topic: Newbie frustration.
Replies: 9
Views: 6695

Re: Newbie frustration.

Hello Dazz, I will send original code. I am just using it as a learning experience as it will be useful to me later. In brief, i have declared a variable (RJH), then RJH=TMR1L then used lcd block to send it. I get values but bigger than i expect. The original code is more complex but you can see whe...
by lungchard
Sun Aug 18, 2013 5:53 pm
Forum: Flowcode V5
Topic: Newbie frustration.
Replies: 9
Views: 6695

Re: Newbie frustration.

Hello Dazz, I am registered forum member but posted here as it seemed to be best suited for my question. What they need is a newbies section so we do not clutter the pro forum with trivia! Have attached my attempt. It was originally posted on internet by Roman Black. I have tried to copy it using fl...
by lungchard
Sun Aug 18, 2013 5:33 pm
Forum: Flowcode V5
Topic: Newbie frustration.
Replies: 9
Views: 6695

Newbie frustration.

Hello Forum,
Can you please help a new starter find a simple problem with his first attempts.
I want to read a PIC SFR (tmr1l) and display on LCD. My LCD shows some values that exceed 255.
Any idea why this may be happening? Should be 8 bits only.
Thanks in advance. Richard.