Search found 5 matches

by hbruno
Mon Nov 08, 2010 9:19 pm
Forum: Compiler
Topic: Structure in Module and choice in Program, again...
Replies: 12
Views: 11147

Thank you very much Jerry, you are my savior. indeed, it is the right solution. :D
I had not thought about using tampons variables, I always tried to directly address the elements of the structure declared in the module. thank you again.
I'll soon be able to publish this module in the wiki.
by hbruno
Sun Nov 07, 2010 11:40 pm
Forum: Compiler
Topic: Structure in Module and choice in Program, again...
Replies: 12
Views: 11147

there is no structure in LCD.bas
I read all the documentation at Language Reference - preprocessor Help.
There's no indication for passed Structure between Program and Module. :( .
I use #option or #define in other module with success, but, here, i'm blocked...
by hbruno
Sun Nov 07, 2010 9:53 am
Forum: Compiler
Topic: Structure in Module and choice in Program, again...
Replies: 12
Views: 11147

Re: Structure in Module

You could try looking at the LCD.bas which supports the HD44780 and has #options and #defines for LCD lines. Not sure what the PCF8574(A) has to do with anything other than being an I/O expander, if you look in the LCD Help file you can see the display is wired for 4 data bits. Hi 2brain, you do no...
by hbruno
Sat Nov 06, 2010 10:06 pm
Forum: Compiler
Topic: Structure in Module and choice in Program, again...
Replies: 12
Views: 11147

Structure in Module and choice in Program, again...

Hello all, I try my luck on this forum, as on "User Modules", 75 people have read my post, but 0 replies. i want to make a module for drive a LCD with a PCF8574(A) (in 4bit mode). My module is finished but, now, I want the user to choose how he wants to wire the circuit PCF8574 with the LCD. In my m...
by hbruno
Mon Nov 01, 2010 6:03 pm
Forum: User Modules
Topic: Structure in Module and choice in Program
Replies: 0
Views: 2947

Structure in Module and choice in Program

Hello all, i want to make a module for drive a LCD with a PCF8574(A) (in 4bit mode). My module is finished but, now, i would like that the user of the module can choose how he want to wire the PCF8574 with the LCD. In my module, i declare the wiring like that : Public Structure HD44780_ dLCD As Byte...