Minimal distance digital circuits next to AC power line

Hi,

I have many I/O lines coming from an MCU

which are laid out one next

to each other on a PC board. However I

Will require small metal pegs residing perpendicular

To the pc board. What should be the minimal

distance between the pegs to the digital traces

be?

Pc board with one peg below:

ā€”

It depends on the AC voltage. I usually use 3.5mm for 120V, 6.5 above that.

/mike