private void SendData()
        {
            string p_a = encodeByte(Ctrl.GetUnbankedRegister(PICMemory.ADDR_PORT_A));
            string t_a = encodeByte(Ctrl.GetUnbankedRegister(PICMemory.ADDR_TRIS_A));
            string p_b = encodeByte(Ctrl.GetUnbankedRegister(PICMemory.ADDR_PORT_B));
            string t_b = encodeByte(Ctrl.GetUnbankedRegister(PICMemory.ADDR_TRIS_B));

            string send = t_a + p_a + t_b + p_b;

            Send_RS232(send);
        }
 private void UpdateRegister()
 {
     for (uint i = 0; i < 0x100; i++)
     {
         rgridMain.Set(i, controller.GetUnbankedRegister(i), true, false);                 // Tests in Set if val has changed ....
     }
 }