better LCD example, implement SWPB and SXT