Hallo,
was hast du denn für einen µC? Hat der überhaupt einen Port G?

Gruß

Rolf