Sebastian Kosch's Blog (2)

RTC + PIC18 = <3

Here's my RTC sample code, ported for PIC18F4620. I added SSPIF support but disabled the interrupts and changed quite a bit of code in the basic I2C low-layer macros, including some #v()-literals to save space.

I wrote it in emacs, and have no clue how to use MPLAB. Sorry :)

Also note that it's relocatable code and full of my own debugging lines. You may have to play around with it to get it to work with your code. But it does definitely work the way it is…

Continue

Added by Sebastian Kosch on February 19, 2011 at 11:00pm — 1 Comment

Most Popular Blog Posts

Monthly Archives

2011

© 2024   Created by PML.   Powered by

Badges  |  Report an Issue  |  Terms of Service