Transferred digital pin headings to program memory

Digital reading function not ready yet.