Modelica-Arduino
Modelica-Arduino copied to clipboard
Simulate circuits and sketches on a virtual Arduino Uno in Modelica
Error message: Compiling and linking the model (Visual C++). 64-bit mode activated. dsmodel.c dsmodel.c(4664): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data LINK : fatal error...
to allow e.g. using undeclared functions. See https://arduino.github.io/arduino-cli/0.20/sketch-build-process/#pre-processing.
Led not working in BarGraph example. I edited the component LED.mo and replaced : `fillColor=DynamicSelect({100,40,40}, if mean.y > 0 then {100 + (mean.y/0.02)*155,40,40} else {100,40,40})` by `DynamicSelect({100, 40, 40}, {ceil(100+(mean.y/0.02)*155),...