PIC32 Microcontroller

Programmed a PIC32 microcontroller in C as part of CS224. The lab covered two implementations:
DC Motor Control — Read directional button inputs from Port E and output motor control signals to Port A, enabling clockwise and counterclockwise rotation. Used SFRs including AD1PCFG, TRISA, LATA, and TRISE.
Seven-Segment Display — Displayed the cube values of numbers 1–21 on a 4-digit display. Built a binary pattern array for digits 0–9, a digit breakdown function, and a multiplexing loop to cycle through each digit position.