In the first episode of this series we disable the watchdog timer, configure the I/O ports for digital I/O, and configure the 8051 to generate and process a 1ms timekeeping interrupt.