top of page

Rodrigo Arturo David
2
Software
We are using the MPLAB X IDE with XC8 to program the microcontroller. The microcontroller we decided on was the PIC18F26K20 because we wanted to use a microcontroller with 28 pins.
We use Analog pins, digital pins and communication pins (UART and I2C).
​
The RTC and Screen use the I2C protocol, which we operate at 400 kHz. The microcontroller spends most of its time in sleep mode waiting for an interrupt such as, a button press, incoming data or on a timer interval.
bottom of page