Arduino sketch for testing PAL16L8.
Connect PAL16L8 to Arduino as per the pin descriptions in the sketch.
For safety, remove PAL16L8 from circuit, upload your sketch, remove power to Arduino, insert PAL16L8, apply power to Ardiuno, then check results in serial console (19200 bps).

ino - 3.69 kB - 02/29/2016 at 17:56