Finish LEM1802 implementation except for render() and tests