Timelapse with GPIO
Hi there I am looking for some help with the GPIO board and a MK3.5. I would like to send the hot end to the back right of my printer .
But I cannot find where to put the gcode to do this. in all the videos I have seen it tells me to put the gcode in the "After layer" part of the filliment slicer settings but I cannot find this only start and end and custom I am using a ready made lead with a 2.5 mm end and a C1 end for the camera which is a Canon 200d
Can someone out there tell me where I am going wrong please
Here is the code I want to use.
;Time-lapse - start
M262 P0 B0 ; Set Pin 0 as output
M262 P1 B0 ; Set Pin 1 as output
G1 X24 Y70 F10000 ; Park at position
G4 P500 ; Wait 500ms
M264 P1 B1 ; Activate focus
M264 P0 B1 ; Activate shutter
G4 P500 ; Wait
500msM264 P0 B0 ; Deactivate shutter
rM264 P1 B0 ; Deactivate focus
G4 P500 ; Wait 500ms
;Time-lapse - end
RE:
- PrusaSlicer 2.9.5 - must be in Expert Mode (I'm on Windows 11, this is also true on MacOS 15)
- Printer tab
- Custom G-Code section
- Scroll down - the sections are labelled:
- Start G-code
- Start G-Code options
- End G-code
- Before layer change G-code
- After layer change G-code
- ...
I admit that normally I would use the scroll wheel but in Firefox at least it tries to scroll within the sections - I usually just grab the scrollbar itself and pull down.
Prusa MK4 since Jan 2024, MK4S/MMU3 since Jan 2025, Printables: @MikeB_1505898
RE: Timelapse with GPIO
Thanks Mike I could not see the scroll bar
Bob