ME 2853 Mechatronics Lab, Georgia Tech
Lab Support Guide and rotation lead
I lead the mechatronics rotation for a lab section, coach teams through Arduino circuits, sensor wiring and debugging, and grade their work. Before students built the rotation project I built the reference toolbox myself, and found a one-character bug in the answer key: a single equals sign that assigns instead of compares, so the lid could never reopen.
// answer key: assigns 0, so the lid can never reopen
if (angle = 0) { lid_open = 0; }
// fixed: compares
if (angle == 0) { lid_open = 0; }