New Component Design
Posted: Sat Jan 30, 2010 9:45 pm
I am trying to design a new component using the SDK to create an LCD with further options than the one used within Flowcode.
Currently there is a bitmap that is placed on the panel. There is an external properties form that allows you to change details about the display (16x2, 20x2, black, green etc). A component pin connection form. And Customize Component Code form.
The 'defines' section inside the Component Code form has :
/**** Macro Substitutions ****
%a = D1 Port
%b = D1 Data Direction
etc
but these go up to %u for a 4 bit data bus, and I want to use an 8 bit data bus plus an additional R/W line.
How are the Macro Substitutions used and can more than 26 substitutions be defined (%a to %z)?
Can the external properties form be used to alter the pin connection form (4 bit or 8 bit data bus and connections)?
It would be very useful if the original code that generates the ocx for the LCD was made available so that these questions can be answered or if someone could generate this component.
Currently there is a bitmap that is placed on the panel. There is an external properties form that allows you to change details about the display (16x2, 20x2, black, green etc). A component pin connection form. And Customize Component Code form.
The 'defines' section inside the Component Code form has :
/**** Macro Substitutions ****
%a = D1 Port
%b = D1 Data Direction
etc
but these go up to %u for a 4 bit data bus, and I want to use an 8 bit data bus plus an additional R/W line.
How are the Macro Substitutions used and can more than 26 substitutions be defined (%a to %z)?
Can the external properties form be used to alter the pin connection form (4 bit or 8 bit data bus and connections)?
It would be very useful if the original code that generates the ocx for the LCD was made available so that these questions can be answered or if someone could generate this component.