Skip to content
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

Unknown command #1

Closed
n3roGit opened this issue Sep 27, 2020 · 1 comment
Closed

Unknown command #1

n3roGit opened this issue Sep 27, 2020 · 1 comment

Comments

@n3roGit
Copy link

n3roGit commented Sep 27, 2020

Hello,

unfortunately I get the following errors in the config from you. Probably the LED must be made known to the printer somehow. Would you add this?

Thanks a lot and you have written a great tutorial!

Unknown command:"M42"
Unknown command:"M42"
Unknown command:"M42"
Unknown command:"M117"

@n3roGit
Copy link
Author

n3roGit commented Oct 1, 2020

Something like this works:

[output_pin LED_Green]
pin: ar4
pwm: false
value: 0
shutdown_value: 0

[output_pin LED_Red]
pin: ar5
pwm: false
value: 0
shutdown_value: 0

[output_pin LED_Blue]
pin: ar6
pwm: false
value: 0
shutdown_value: 0

[gcode_macro M42]
gcode:
SET_PIN PIN=LED_Green VALUE=1.0
SET_PIN PIN=LED_Blue VALUE=1.0
SET_PIN PIN=LED_Red VALUE=1.0
[gcode_macro M43]
gcode:
SET_PIN PIN=LED_Green VALUE=0.0
SET_PIN PIN=LED_Blue VALUE=0.0
SET_PIN PIN=LED_Red VALUE=0.0

@n3roGit n3roGit closed this as completed Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant