Code for sensor 328