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?
(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?
(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 ..