Hello. I have dug a fairly large number of websites in search of a working example of running the display on the hd44780 driver through the TWI (I2C) interface (PCF8574T) on the xmega 128A1U and nothing specific. I have launched the display myself, but I want to use the TWI interface to reduce the number of pins, and I have a PCF8574T expander at hand. Does anyone have a library ready or can I indicate where I will find one? I will add that I program in ATMEL STUDIO in C.
By the way, I have a question on how to turn off the jtag in xmega 128A1U because I have inactive pins PB4 to PB7. I read that it was done by fusebits, but I did not find anything specific. I program through PDI or sometimes through Flip, so JTag does not need me.
I know it's best to write something myself to learn, but for now it's beyond me, and you can learn quite well by examples. And for the next steps of learning, the display that works properly will definitely be very useful.
By the way, I have a question on how to turn off the jtag in xmega 128A1U because I have inactive pins PB4 to PB7. I read that it was done by fusebits, but I did not find anything specific. I program through PDI or sometimes through Flip, so JTag does not need me.
I know it's best to write something myself to learn, but for now it's beyond me, and you can learn quite well by examples. And for the next steps of learning, the display that works properly will definitely be very useful.