ChatGPT - Code adjustment for wiring