Misc. 68HC05 Software Examples



This library contains software examples in assembly for  68HC05 microcontrollers.

Download all the following in one zip file

  • 7J1AEX.ASM
    Paced loop program example using the 68HC705J1A.

  • J1AWATER.ASM
    Water tank monitoring example using the 68HC705J1A.

  • KJ1REMOTE.ASM
    TV remote control example using the 68HC705KJ1.

  • 7J1APWM.ASM
    Low frequency PWM example using the 68HC705J1A real-time interrupt and timer overflow interrupt.

  • J1A_SCI.ASM
    Softwar UART example that transmits and receives data on the 68HC705J1A.

  • EX1_HC05.ASM
    Simple program that reads the state of a switch on a general-purpose I/O pin and lights an LED based on the state of the switch.

  • K1THERM.ASM
    Thermometer project using the 68HC705K1.

  • KEYINT.RTN
    Using keyboard interrupts to exit from STOP mode.

  • KEYTRY.ASM
    Keypad debounce and decode.  When a key is found, it is changed to ASCII and displayed on an LCD.

  • LCDEX.ASM
    Initializes an LCD and displays ABCDEF...S.

  • SCIEX.ASM
    Serial Communications Interface example.

  • SPIEX.ASM
    Serial Peripheral Interface example.

  • THERMOST.ASM
    Home Thermostat example using the 705C8 with indoor/outdoor temperature and time of day.

  • TIMEREX.ASM
    Using the 68HC05 16-bit Timer.

  • DELAYMS.ASM
    Subroutine that delays for a whole number of milliseconds.