Recent Posts
-
January 26, 2008
Disable Low-Voltage ICSP
Low voltage ICSP programming mode is enabled by default on the PIC18F242. In this mode, RB5 can't be used as a general-purpose I/O pin, which caused havoc for my Ifos project. Simply reorienting the breadboard or touching a connector would cause t...
-
November 11, 2007
Function Pointers in PIC Assembler
Simplified the Modbus slave code by replacing the large case statements—sprinkled throughout—with function pointer tables. Compared to computed jump tables, they may seem heavyweight, but they have four significant advantages: They allow arbitrar...
-
September 25, 2006
Real Code
Stashed the real code in the repository. I guess it's a real project, since only throw-away tests avoid revision control. Nice to have (secure) remote access, too. That was about to get inconvenient.
-
September 25, 2006
Modbus Kickoff
Set up the subversion repository and seeded it with some placeholder files, just to get the hang of things. Went to a lot of effort to get permissions and SSL working correctly, since I'm still not sure how I will eventually license the project.