Nozzlecam - deusrex2k/Creality-K2Plus-Extracted-Firmwares GitHub Wiki
Turn on the nozzlecam:
echo 0 > /sys/class/gpio/gpio162/value
Capture the nozzle cam image
/usr/bin/ai_capture 1
View the images:
/mnt/UDISK/ai_image/flowdetect_img/
Note: You might have to create this directory, it is deleted during calibration
Turn off the nozzlecam:
echo 1 > /sys/class/gpio/gpio162/value