Archive for June 26th, 2007

I2C for 8051

Posted in June 26th, 2007

Target: 8051
Content of .asm file
; ***************************************************************
; This collection of routines allows an 80×51 microcontroller
; to read and write the I2C devices
; FOSC = 24MHz.
; ***************************************************************

_R EQU 0

SDA EQU [...]

Continue reading...