Hi Mike, 2010/2/18 m...@watty <[email protected]>: > I see in I2Chardware: > > > -- include hardware specific aliases for PIC18f family > if target_cpu == PIC_16 then > include i2c_hardware_aliases > end if > > > Should it not be? > > > -- include hardware specific aliases for PIC18f family > if target_cpu != PIC_16 then > include i2c_hardware_aliases > end if > It is tested so it should be okay. Or did you actually experience problems with this statements? If so, please share.
Backgroud why this is like it is: PIC_14 = 14 bit core = 16F (mostly) PIC_16 = 16 bit core = 18F The lib was created for PIC_14. Worked (with some tweaks iirc) on 18F but the registers were named diffently. That's why the aliasses were introduced. Joep -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
