memlcd basic logic works