Hey, total newbie question. I'm shifting from using Arduino to a more bare-metal approach, and trying to figure out the best/easiest way to do i2c/TWI on an ATMega (328P right now, in an Uno).
I've seen Peter Fleury's library, and there's also the ASF library. I've also seen some straight C code that just pokes the registers. Anything else?
Any advice on which of the options is best? On the particular project I'm working on right now, "best" is probably defined as "easiest learning curve, lowest power consumption, fastest running", in roughly that order.