Using DS1307 as a framework for I2C, I have managed to stream data to the console from a 3-axis gryo, st micro L3G20.
Right now it is in program form and I will work to do the minor changes to make it a module after I finalize other features.
In attempting to get a feel for the speed of pic24, I decided to use the clock = 80 and = 64 (using compiler version 0.7.1.2C).
but the baud rate didn't appear to be tracking the fosc/fcyc speed change.
I manually changed U1MODE to &H8088 and U1BRG to 35 to obtain 115200 baud for 32 Mhz before attempting
further investigation, either way, I could not get 115200 to work for 64 or 80Mhz (or 38400).
I changed these two registers in Sub Main() to override the settings in console.bas .
I also wanted to verify that I2C delays don't get broken with the increased clock speeds.
Any thoughts?
ZOOF!!
