GPIO how to article
Hi,
We've created an article about the GPIO board, complete with examples. We'll be adding more examples to the article in the future.
If you have any questions, feel free to ask them here or in the comments section of the article.
We look forward to seeing your GPIO-based projects!
Happy printing and hacking!
/ Knowledge Base
The guy behind Prusa assembly manuals...
RE:
In the article, it doesn't mention M260 or M261 (despite being in the screencaps), but those are both now supported in the firmware, thanks to rbuehlma's github contributions. Does the GPIO board not support those commands? Is it possible to use a separate microcontroller, configured as i2c slave, to receive those commands?
RE:
Hi,
After the initial feedback and subsequent internal discussion, we have decided not to directly mention the M260 gcode in the article, although it is still supported by both the firmware and the board. Instead, we prefer to use a more straightforward setup for individual pins using the M264 gcode.
The M261 gcode is described in the article.
At this moment, I am not aware of the possibility to connect a separate microcontroller as an I2C slave, and I do not recommend it either. However, the GPIO hackerboard supports these M260 and M261 gcode commands.
RE: GPIO how to article
Thanks for replying! I must have missed the M261. Sorry about that. Can you explain the reasoning for not mentioning/documenting M260? I'm guessing to limit the liability for someone doing something dumb with that command.
RE: GPIO how to article
Thanks for this! Ordered my board and now I have to wait for it to show up... 🙂
Could you perhaps add an example of how to wire a button to input on the hacker board to control an output pin? Is this possible? Would like to do this to control some enclosure lights/fans via button.
Hi,
We've created an article about the GPIO board, complete with examples. We'll be adding more examples to the article in the future.
If you have any questions, feel free to ask them here or in the comments section of the article.
We look forward to seeing your GPIO-based projects!
Happy printing and hacking!
MK3s / My IKEA Lack enclosure