라벨이 embedded AI coding인 게시물 표시

Building an LLM Robot with My Son — EP 2. First AI Coding Experiment — Context Strategy Changed Everything

Building an LLM Robot with My Son — EP 2. First AI Coding Experiment — Context Strategy Changed Everything My son gave his first AI coding command that evening. He sat down in front of the laptop, thought for a moment about what to type, and entered this: "stop if there's something in front of it" Claude Code produced code. He skimmed it — couldn't tell what most of it meant. "Can I upload it?" We uploaded from Arduino IDE. He put his hand in front of the robot. It didn't stop. "Why isn't it working?" I looked at the code. Claude had assigned the HC-SR04 Trig pin to pin 2. Our wiring uses pin 4. The CLAUDE.md context hadn't loaded in this session — he'd opened a new Claude Code session, and in that session there was no project context. That one moment is the whole point of this episode. What Happens When AI Writes Embedded Code Without Context HC-SR04 is a well-known ultrasonic sensor. Claude knows how it works — pulse ...