gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

xtLcd.h (340B)


      1 #pragma once
      2 
      3 #include <array>
      4 #include <cstdint>
      5 #include <string>
      6 
      7 namespace xt
      8 {
      9 	class Lcd
     10 	{
     11 	public:
     12 		Lcd();
     13 
     14 		void resetWritePos();
     15 		bool writeCharacter(char _c);
     16 		const auto& getData() const { return m_lcdData; }
     17 		std::string toString() const;
     18 
     19 	private:
     20 		uint16_t m_lcdWritePos = 0;
     21 		std::array<char, 40*2> m_lcdData;
     22 	};
     23 }