Modelica-Arduino icon indicating copy to clipboard operation
Modelica-Arduino copied to clipboard

Simulate circuits and sketches on a virtual Arduino Uno in Modelica

Results 7 Modelica-Arduino issues
Sort by recently updated
recently updated
newest added

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.

enhancement

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),...

Can a model of an RGB-LED be added to the components package?

enhancement