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 - Combination of mine and code generated in ldmicro

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

Combination of mine and code generated in ldmicro (by Yoshi)
Hi!

I have a question, can I combine mine arduino code with the code generated by LDmicro?

For example, I have the temperature value from the DS18B20 sensor stored in the global variable "T" and I would like to use its value in the part of the code generated by LDmicro.


It's possible?
Sat Nov 9 2019, 15:13:10
(no subject) (by Ziggy)
I would think so.

LDmicro will generate C source code which can be compiled by Arduino compiler into hex file.

Therefore if a C souce file is available then it should not present a problem to combine the two source code files.

But ... LDmicro generated C is bloody awkward to read.

May be a users guide to LDmicro generated C ...please?
Sat Nov 9 2019, 18:36:53
(no subject) (by Yoshi)
I tried to connect the codes several times but every time I got a message like "'Read_Ub_RM1' was not declared in this scope" Has anyone got an idea how to make the variables visible throughout the program? I tried to define variables in every possible place in the code, the effect is the same all the time ..
Sun Nov 10 2019, 06:29:43
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):