Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - ladder.h

(you are viewing a thread; or go back to list of threads)

ladder.h (by Leopoldo)
"ladder.h" where is it? If you open the asci code, you will see at first the ladder.h, but in the ziped paste isnt a ladder.h!
I Would like to open the code, and see what is in there.
Wed Feb 16 2011, 07:00:28
(no subject) (by Jonathan Westhues)
Read the comments in the generated C code. This is a file that you must provide, in order to define the interface from the ladder-generated code to the rest of your system.

It is not possible to provide a standard version of this file, since LDmicro doesn't know the details of your compiler or of the rest of your system. These will vary in every application.
Wed Feb 16 2011, 11:33:54
extern BOOL Read_U_b_Xbutton(void); (by Leopoldo)
I Would like to do a version of the AVR 8015 for the LDmicro, so i would like to provide the proto function "extern BOOL Read_U_b_Xbutton(void);".
its look like it returns just one variable. But isnt it an
i/o pin information? And to determinate the state of a pin dont need i more then one variable? the port and the pin?

thank you!
Fri Feb 18 2011, 06:37:11
How about providing a generated ladder.h? (by JensRapp)
Hi,

as I understand, one needs to build his own ladder.h
Wouldn't it be better to generate this file at least with function prototypes or empty bodies?
This would make life much easier :)

btw: I love this ladder thing.. Can you tell how to build my own generator?
I'd need one for Xmega controllers and ATmega(8|16|32)8
Wed Apr 20 2016, 06:53:34
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):