-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MARLIN_SIMULATION_BUILD #4364
MARLIN_SIMULATION_BUILD #4364
Conversation
831e1d1
to
b169a0a
Compare
I would like to keep my machine as it is. I don't like pulling wires. |
Even a stock Arduino Mega without any shield works as a debug platform with the current RCBugfix. |
Yes, it's pretty awesome. I like the use of the oscilloscope. Very cool. I wish I had an extra Arduino or two (that are easy to build for) but at the moment the only spare I have is a Teensy (which is tricky to build for). And, what I'd like to do is just flash the board in my printer with Delta code (even though it's not a delta) and run it without having the axes go all nuts, but still be able to trace the changes in coordinates. |
Just power it using the USB cable and leave the power supply off, everything will be functional from inside Marlin doing exactly what you require. |
All good, but those simulated thermistors always register the same temperature. It would be better if they would simulate a temperature rise when "heating" and a temperature drop when "cooling." |
c20cc4a
to
e413296
Compare
e413296
to
b749da8
Compare
This PR is the start of the concept for a
MARLIN_SIMULATION_BUILD
option to substitute all hardware functions involving steppers, heaters, and sensors with simulated versions that don't move steppers, set heaters, or read real thermistors.The LCD and other I/O functions continue to work normally with this type of build.
The stepper ISR continues to run, giving a real-time approximation of movement timing.
TODO: