no I/O on VLCD PIC16F946

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
dannyvanneijenhoff
Posts: 62
Joined: Thu Feb 07, 2008 7:59 am
Contact:

no I/O on VLCD PIC16F946

Post by dannyvanneijenhoff »

Hello
I don't get the C0_VLCD1, C1_VLCD2 and C2_VLCD3 ports working as ouput on the PIC16F946, they do nothing (only 0V).
C3 an C4 and all Input/output and PWM, and other functions are working fine.
Maybe i forget to change something somewhere, if someone has a suggestion, thanks.
Best Regards, Danny
Last edited by dannyvanneijenhoff on Wed Sep 29, 2010 8:16 am, edited 1 time in total.

User avatar
Benj
Matrix Staff
Posts: 14929
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Contact:

Re: no I/O on VLCD PIC16F946

Post by Benj »

Hello Danny

Please add a C code icon to the very start of your main macro and add the following line of C.

lcdcon = 0x00;

Hopefully this should allow the pins to work.

Let me know how you get on and I will add this fix to the next update of Flowcode.

dannyvanneijenhoff
Posts: 62
Joined: Thu Feb 07, 2008 7:59 am
Contact:

Re: no I/O on VLCD PIC16F946

Post by dannyvanneijenhoff »

Hello Ben
Sorry for the late reply :oops: ,
this worked fine.
thanks for the fast support.

Post Reply