There is some I2C demo code in application.c
and a guide to using it at http://www.utasker.com/docs/uTasker/uTaskerIIC_002.PDF
As to where it is best placed in your own project depends on your preference. If you are only using the interface for output commands can be easily sent from anywhere (open the port in any task and use its 'global
' handle from any place). If you are also reading data in, it may be better to concentrate control in a single task since a task is defined for reception. To be completely modular you could even add a new task which is purely used to control the interface.