Group Assignment
Digital Contour Guage Mockup - Breadboard
Digital Contour Guage Mockup - Computer Side
*Local Display Sub-Network* | `Wire.setSDA(6);`
`Wire.setSCL(7);` | Maps the physical data and clock lines to Pins 6 and 7 so the signal goes out the right physical doors. | | | `Wire.begin();` | Wakes up the I2C bus hardware inside the XIAO RP2040 chip to turn it into an active network controller. | | | `display.begin(..., 0x3C);` | Sends a wakeup call targeting the specific **bus address (`0x3C`)** of your local OLED display node. | | | `display.drawPixel(x, y, ...);` | Plots a single coordinate point on the screen grid without clearing your old data lines. | | | `display.display();` | Flushes all the buffered drawing data down the physical wires to instantly render it on the glass. | | **External Link (Serial)**
*Laptop Communication Bridge* | `Serial.begin(115200);` | Opens the communication gate and sets the **Baud Rate** to 115,200 bits per second so the laptop can match speeds. | | | `Serial.print(x);` | Pushes the X-coordinate text out through the USB-C cable bridge. | | | `Serial.print(",");` | Sends a comma right after the X value to act as a **Delimiter** (a clear separator between the numbers). | | | `Serial.println(y);` | Sends the Y value and automatically appends a **Newline (`\n`)** character to act as the packet's **Stop Frame**. |
as