├── .gitignore
├── LICENSE.md
├── README.md
├── doc
└── Doxyfile
├── examples
├── .gitignore
└── arduinoIDE
│ ├── AllPanels
│ ├── Ellipse
│ │ └── Ellipse.ino
│ ├── Fonts
│ │ └── Fonts.ino
│ ├── GradientFill
│ │ └── GradientFill.ino
│ ├── HardwareScrolling
│ │ └── HardwareScrolling.ino
│ ├── JpegSerial
│ │ ├── JpegSerial.ino
│ │ ├── SendJpeg
│ │ │ ├── Program.cs
│ │ │ ├── Properties
│ │ │ │ └── AssemblyInfo.cs
│ │ │ ├── SendJpeg.csproj
│ │ │ └── SendJpeg.sln
│ │ ├── test0.jpg
│ │ ├── test1.jpg
│ │ ├── test2.jpg
│ │ ├── test3.jpg
│ │ └── test4.jpg
│ ├── Line
│ │ └── Line.ino
│ ├── Rectangle
│ │ └── Rectangle.ino
│ ├── SleepMode
│ │ └── SleepMode.ino
│ └── Terminal
│ │ └── Terminal.ino
│ ├── HX8347A
│ ├── GraphicsLibraryDemo
│ │ ├── BitmapPixels.cpp
│ │ ├── GraphicsLibraryDemo.ino
│ │ ├── Lzg_font_applegaramond.cpp
│ │ ├── Lzg_font_applegaramond.h
│ │ ├── Lzg_font_applegaramond.xml
│ │ ├── Lzg_font_happysans.cpp
│ │ ├── Lzg_font_happysans.h
│ │ ├── Lzg_font_happysans.xml
│ │ ├── cloud100x100.bin
│ │ └── globe.lzg
│ ├── JpegFlash
│ │ ├── JpegFlash.ino
│ │ ├── JpegGraphics.cpp
│ │ ├── test0.jpg
│ │ ├── test1.jpg
│ │ ├── test2.jpg
│ │ ├── test3.jpg
│ │ └── test4.jpg
│ ├── TrueType
│ │ ├── LogoBitmap.cpp
│ │ ├── Lzg_font_applegaramond.cpp
│ │ ├── Lzg_font_applegaramond.h
│ │ ├── Lzg_font_applegaramond.xml
│ │ ├── Lzg_font_happysans.cpp
│ │ ├── Lzg_font_happysans.h
│ │ ├── Lzg_font_happysans.xml
│ │ ├── TrueType.ino
│ │ └── logo.lzg
│ └── Weather
│ │ ├── 0.lzg
│ │ ├── 1.lzg
│ │ ├── 2.lzg
│ │ ├── 3.lzg
│ │ ├── 4.lzg
│ │ ├── 5.lzg
│ │ ├── 6.lzg
│ │ ├── 7.lzg
│ │ ├── 8.lzg
│ │ ├── 9.lzg
│ │ ├── C.lzg
│ │ ├── Weather.ino
│ │ ├── WeatherBitmaps.cpp
│ │ ├── allDigits.lzg
│ │ ├── degree.lzg
│ │ ├── partlyCloudy.lzg
│ │ ├── point.lzg
│ │ ├── rain.lzg
│ │ ├── snow.lzg
│ │ └── sun.lzg
│ ├── HX8352A
│ ├── GraphicsLibraryDemo
│ │ ├── BitmapPixels.cpp
│ │ ├── GraphicsLibraryDemo.ino
│ │ ├── Lzg_font_applegaramond.cpp
│ │ ├── Lzg_font_applegaramond.h
│ │ ├── Lzg_font_applegaramond.xml
│ │ ├── Lzg_font_happysans.cpp
│ │ ├── Lzg_font_happysans.h
│ │ ├── Lzg_font_happysans.xml
│ │ ├── cloud100x100.bin
│ │ └── globe.lzg
│ ├── JpegFlash
│ │ ├── JpegFlash.ino
│ │ ├── JpegGraphics.cpp
│ │ ├── test0.jpg
│ │ ├── test1.jpg
│ │ ├── test2.jpg
│ │ ├── test3.jpg
│ │ └── test4.jpg
│ ├── TrueType
│ │ ├── LogoBitmap.cpp
│ │ ├── Lzg_font_applegaramond.cpp
│ │ ├── Lzg_font_applegaramond.h
│ │ ├── Lzg_font_applegaramond.xml
│ │ ├── Lzg_font_happysans.cpp
│ │ ├── Lzg_font_happysans.h
│ │ ├── Lzg_font_happysans.xml
│ │ ├── TrueType.ino
│ │ └── logo.lzg
│ └── Weather
│ │ ├── 0.lzg
│ │ ├── 1.lzg
│ │ ├── 2.lzg
│ │ ├── 3.lzg
│ │ ├── 4.lzg
│ │ ├── 5.lzg
│ │ ├── 6.lzg
│ │ ├── 7.lzg
│ │ ├── 8.lzg
│ │ ├── 9.lzg
│ │ ├── C.lzg
│ │ ├── Weather.ino
│ │ ├── WeatherBitmaps.cpp
│ │ ├── allDigits.lzg
│ │ ├── degree.lzg
│ │ ├── partlyCloudy.lzg
│ │ ├── point.lzg
│ │ ├── rain.lzg
│ │ ├── snow.lzg
│ │ └── sun.lzg
│ ├── ILI9325
│ ├── GraphicsLibraryDemo
│ │ ├── BitmapPixels.cpp
│ │ ├── GraphicsLibraryDemo.ino
│ │ ├── Lzg_font_applegaramond.cpp
│ │ ├── Lzg_font_applegaramond.h
│ │ ├── Lzg_font_applegaramond.xml
│ │ ├── Lzg_font_happysans.cpp
│ │ ├── Lzg_font_happysans.h
│ │ ├── Lzg_font_happysans.xml
│ │ ├── cloud100x100.bin
│ │ └── globe.lzg
│ ├── JpegFlash
│ │ ├── JpegFlash.ino
│ │ ├── JpegGraphics.cpp
│ │ ├── test0.jpg
│ │ ├── test1.jpg
│ │ ├── test2.jpg
│ │ ├── test3.jpg
│ │ └── test4.jpg
│ ├── TrueType
│ │ ├── LogoBitmap.cpp
│ │ ├── Lzg_font_applegaramond.cpp
│ │ ├── Lzg_font_applegaramond.h
│ │ ├── Lzg_font_applegaramond.xml
│ │ ├── Lzg_font_happysans.cpp
│ │ ├── Lzg_font_happysans.h
│ │ ├── Lzg_font_happysans.xml
│ │ ├── TrueType.ino
│ │ └── logo.lzg
│ └── Weather
│ │ ├── 0.lzg
│ │ ├── 1.lzg
│ │ ├── 2.lzg
│ │ ├── 3.lzg
│ │ ├── 4.lzg
│ │ ├── 5.lzg
│ │ ├── 6.lzg
│ │ ├── 7.lzg
│ │ ├── 8.lzg
│ │ ├── 9.lzg
│ │ ├── C.lzg
│ │ ├── Weather.ino
│ │ ├── WeatherBitmaps.cpp
│ │ ├── allDigits.lzg
│ │ ├── degree.lzg
│ │ ├── partlyCloudy.lzg
│ │ ├── point.lzg
│ │ ├── rain.lzg
│ │ ├── snow.lzg
│ │ └── sun.lzg
│ ├── ILI9327
│ ├── GraphicsLibraryDemo
│ │ ├── BitmapPixels.cpp
│ │ ├── GraphicsLibraryDemo.ino
│ │ ├── Lzg_font_applegaramond.cpp
│ │ ├── Lzg_font_applegaramond.h
│ │ ├── Lzg_font_applegaramond.xml
│ │ ├── Lzg_font_happysans.cpp
│ │ ├── Lzg_font_happysans.h
│ │ ├── Lzg_font_happysans.xml
│ │ ├── cloud100x100.bin
│ │ └── globe.lzg
│ ├── JpegFlash
│ │ ├── JpegFlash.ino
│ │ ├── JpegGraphics.cpp
│ │ ├── test0.jpg
│ │ ├── test1.jpg
│ │ ├── test2.jpg
│ │ ├── test3.jpg
│ │ └── test4.jpg
│ ├── TrueType
│ │ ├── LogoBitmap.cpp
│ │ ├── Lzg_font_applegaramond.cpp
│ │ ├── Lzg_font_applegaramond.h
│ │ ├── Lzg_font_applegaramond.xml
│ │ ├── Lzg_font_happysans.cpp
│ │ ├── Lzg_font_happysans.h
│ │ ├── Lzg_font_happysans.xml
│ │ ├── TrueType.ino
│ │ └── logo.lzg
│ └── Weather
│ │ ├── 0.lzg
│ │ ├── 1.lzg
│ │ ├── 2.lzg
│ │ ├── 3.lzg
│ │ ├── 4.lzg
│ │ ├── 5.lzg
│ │ ├── 6.lzg
│ │ ├── 7.lzg
│ │ ├── 8.lzg
│ │ ├── 9.lzg
│ │ ├── C.lzg
│ │ ├── Weather.ino
│ │ ├── WeatherBitmaps.cpp
│ │ ├── allDigits.lzg
│ │ ├── degree.lzg
│ │ ├── partlyCloudy.lzg
│ │ ├── point.lzg
│ │ ├── rain.lzg
│ │ ├── snow.lzg
│ │ └── sun.lzg
│ ├── ILI9481
│ ├── GraphicsLibraryDemo
│ │ ├── BitmapPixels.cpp
│ │ ├── GraphicsLibraryDemo.ino
│ │ ├── Lzg_font_applegaramond.cpp
│ │ ├── Lzg_font_applegaramond.h
│ │ ├── Lzg_font_applegaramond.xml
│ │ ├── Lzg_font_happysans.cpp
│ │ ├── Lzg_font_happysans.h
│ │ ├── Lzg_font_happysans.xml
│ │ ├── cloud100x100.bin
│ │ └── globe.lzg
│ ├── JpegFlash
│ │ ├── JpegFlash.ino
│ │ ├── JpegGraphics.cpp
│ │ ├── test0.jpg
│ │ └── test1.jpg
│ ├── TrueType
│ │ ├── LogoBitmap.cpp
│ │ ├── Lzg_font_applegaramond.cpp
│ │ ├── Lzg_font_applegaramond.h
│ │ ├── Lzg_font_applegaramond.xml
│ │ ├── Lzg_font_happysans.cpp
│ │ ├── Lzg_font_happysans.h
│ │ ├── Lzg_font_happysans.xml
│ │ ├── TrueType.ino
│ │ └── logo.lzg
│ └── Weather
│ │ ├── 0.lzg
│ │ ├── 1.lzg
│ │ ├── 2.lzg
│ │ ├── 3.lzg
│ │ ├── 4.lzg
│ │ ├── 5.lzg
│ │ ├── 6.lzg
│ │ ├── 7.lzg
│ │ ├── 8.lzg
│ │ ├── 9.lzg
│ │ ├── C.lzg
│ │ ├── Weather.ino
│ │ ├── WeatherBitmaps.cpp
│ │ ├── allDigits.lzg
│ │ ├── degree.lzg
│ │ ├── partlyCloudy.lzg
│ │ ├── point.lzg
│ │ ├── rain.lzg
│ │ ├── snow.lzg
│ │ └── sun.lzg
│ ├── NokiaQVGA
│ ├── GraphicsLibraryDemo
│ │ ├── BitmapPixels.cpp
│ │ ├── GraphicsLibraryDemo.ino
│ │ ├── Lzg_font_applegaramond.cpp
│ │ ├── Lzg_font_applegaramond.h
│ │ ├── Lzg_font_applegaramond.xml
│ │ ├── Lzg_font_happysans.cpp
│ │ ├── Lzg_font_happysans.h
│ │ ├── Lzg_font_happysans.xml
│ │ ├── Lzg_font_linuxlibertine_20.cpp
│ │ ├── Lzg_font_linuxlibertine_20.h
│ │ ├── Lzg_font_linuxlibertine_20.xml
│ │ ├── cloud100x100.bin
│ │ └── globe.lzg
│ ├── JpegFlash
│ │ ├── JpegFlash.ino
│ │ ├── JpegGraphics.cpp
│ │ ├── test0.jpg
│ │ ├── test1.jpg
│ │ ├── test2.jpg
│ │ ├── test3.jpg
│ │ └── test4.jpg
│ ├── MediaPlayer
│ │ ├── Bitmaps.cpp
│ │ ├── MediaPlayer.bin
│ │ ├── MediaPlayer.ino
│ │ ├── ScreenStrip.bin
│ │ └── fft.cpp
│ ├── SimpleBitmap
│ │ ├── GlobeBitmap.cpp
│ │ ├── SimpleBitmap.ino
│ │ └── globe64x64.bin
│ ├── TrueType
│ │ ├── LogoBitmap.cpp
│ │ ├── Lzg_font_applegaramond.cpp
│ │ ├── Lzg_font_applegaramond.h
│ │ ├── Lzg_font_applegaramond.xml
│ │ ├── Lzg_font_happysans.cpp
│ │ ├── Lzg_font_happysans.h
│ │ ├── Lzg_font_happysans.xml
│ │ ├── Lzg_font_linuxlibertine_20.cpp
│ │ ├── Lzg_font_linuxlibertine_20.h
│ │ ├── Lzg_font_linuxlibertine_20.xml
│ │ ├── TrueType.ino
│ │ └── logo.lzg
│ └── Weather
│ │ ├── 0.lzg
│ │ ├── 1.lzg
│ │ ├── 2.lzg
│ │ ├── 3.lzg
│ │ ├── 4.lzg
│ │ ├── 5.lzg
│ │ ├── 6.lzg
│ │ ├── 7.lzg
│ │ ├── 8.lzg
│ │ ├── 9.lzg
│ │ ├── C.lzg
│ │ ├── Weather.ino
│ │ ├── WeatherBitmaps.cpp
│ │ ├── allDigits.lzg
│ │ ├── degree.lzg
│ │ ├── partlyCloudy.lzg
│ │ ├── point.lzg
│ │ ├── rain.lzg
│ │ ├── snow.lzg
│ │ └── sun.lzg
│ └── R61523
│ ├── GraphicsLibraryDemo
│ ├── BitmapPixels.cpp
│ ├── GraphicsLibraryDemo.ino
│ ├── Lzg_font_applegaramond.cpp
│ ├── Lzg_font_applegaramond.h
│ ├── Lzg_font_applegaramond.xml
│ ├── Lzg_font_happysans.cpp
│ ├── Lzg_font_happysans.h
│ ├── Lzg_font_happysans.xml
│ ├── cloud100x100.bin
│ └── globe.lzg
│ ├── JpegFlash
│ ├── JpegFlash.ino
│ ├── JpegGraphics.cpp
│ ├── test0.jpg
│ ├── test1.jpg
│ ├── test2.jpg
│ ├── test3.jpg
│ └── test4.jpg
│ ├── TrueType
│ ├── LogoBitmap.cpp
│ ├── Lzg_font_applegaramond.cpp
│ ├── Lzg_font_applegaramond.h
│ ├── Lzg_font_applegaramond.xml
│ ├── Lzg_font_happysans.cpp
│ ├── Lzg_font_happysans.h
│ ├── Lzg_font_happysans.xml
│ ├── TrueType.ino
│ └── logo_400.lzg
│ └── Weather
│ ├── 0.lzg
│ ├── 1.lzg
│ ├── 2.lzg
│ ├── 3.lzg
│ ├── 4.lzg
│ ├── 5.lzg
│ ├── 6.lzg
│ ├── 7.lzg
│ ├── 8.lzg
│ ├── 9.lzg
│ ├── C.lzg
│ ├── Weather.ino
│ ├── WeatherBitmaps.cpp
│ ├── allDigits.lzg
│ ├── degree.lzg
│ ├── partlyCloudy.lzg
│ ├── point.lzg
│ ├── rain.lzg
│ ├── snow.lzg
│ └── sun.lzg
├── lib
├── .cproject
├── .project
├── .settings
│ └── de.innot.avreclipse.core.prefs
├── Adafruit.h
├── Backlight.h
├── DisplayDeviceGamma.h
├── Font.cpp
├── Font.h
├── FontChar.h
├── Font_apple.cpp
├── Font_apple.h
├── Font_apple.xml
├── Font_atari_st_16.cpp
├── Font_atari_st_16.h
├── Font_atari_st_16.xml
├── Font_dos_16.cpp
├── Font_dos_16.h
├── Font_dos_16.xml
├── Font_kyrou9_bold_8.cpp
├── Font_kyrou9_bold_8.h
├── Font_kyrou9_bold_8.xml
├── Font_kyrou9_regular_8.cpp
├── Font_kyrou9_regular_8.h
├── Font_kyrou9_regular_8.xml
├── Font_nintendo_ds_16.cpp
├── Font_nintendo_ds_16.h
├── Font_nintendo_ds_16.xml
├── Font_pixelade_13.cpp
├── Font_pixelade_13.h
├── Font_pixelade_13.xml
├── Font_proggy_clean_16.cpp
├── Font_proggy_clean_16.h
├── Font_proggy_clean_16.xml
├── Font_tama_ss01.cpp
├── Font_tama_ss01.h
├── Font_tama_ss01.xml
├── Font_volter_goldfish_9.cpp
├── Font_volter_goldfish_9.h
├── Font_volter_goldfish_9.xml
├── Generic16BitHX8347A.h
├── Generic16BitHX8352A.h
├── Generic16BitILI9325.h
├── Generic16BitILI9327.h
├── Generic16BitILI9481.h
├── Generic16BitR61523.h
├── GetFarAddress.h
├── Nokia6300.h
├── NokiaE73.h
├── NokiaN82.h
├── NokiaN93.h
├── NokiaN95_8Gb.h
├── PanelConfiguration.h
├── PicoJpeg.cpp
├── decoders
│ ├── JpegDataSources.h
│ ├── JpegDecoder.h
│ ├── LzgFlashDecoder.h
│ └── PicoJpeg.h
├── drv
│ ├── accessModes
│ │ ├── AdafruitAccessMode.h
│ │ ├── Gpio16AccessMode.h
│ │ ├── Gpio16LatchAccessMode.h
│ │ ├── GpioAccessMode.h
│ │ ├── Xmem16AccessMode.cpp
│ │ ├── Xmem16AccessMode.h
│ │ └── XmemAccessMode.h
│ ├── hx8347a
│ │ ├── HX8347A.h
│ │ ├── HX8347AColour.h
│ │ ├── HX8347AColour16Specialisation.h
│ │ ├── HX8347ALandscapeSpecialisation.h
│ │ ├── HX8347AOrientation.h
│ │ ├── HX8347APortraitSpecialisation.h
│ │ └── commands
│ │ │ └── AllCommands.h
│ ├── hx8352a
│ │ ├── HX8352A.h
│ │ ├── HX8352AColour.h
│ │ ├── HX8352AColour16Specialisation.h
│ │ ├── HX8352AGamma.h
│ │ ├── HX8352ALandscapeSpecialisation.h
│ │ ├── HX8352AOrientation.h
│ │ ├── HX8352APortraitSpecialisation.h
│ │ ├── commands
│ │ │ └── AllCommands.h
│ │ └── panelTraits
│ │ │ └── LG_KF700PanelTraits.h
│ ├── ili9325
│ │ ├── ILI9325.h
│ │ ├── ILI9325Colour.h
│ │ ├── ILI9325Colour16Specialisation.h
│ │ ├── ILI9325Colour18Specialisation.h
│ │ ├── ILI9325LandscapeSpecialisation.h
│ │ ├── ILI9325Orientation.h
│ │ ├── ILI9325PortraitSpecialisation.h
│ │ └── commands
│ │ │ └── AllCommands.h
│ ├── ili9327
│ │ ├── ILI9327.h
│ │ ├── ILI9327Colour.h
│ │ ├── ILI9327Colour16Specialisation.h
│ │ ├── ILI9327LandscapeSpecialisation.h
│ │ ├── ILI9327Orientation.h
│ │ ├── ILI9327PortraitSpecialisation.h
│ │ ├── commands
│ │ │ └── AllCommands.h
│ │ └── panelTraits
│ │ │ └── ILI9327400x240PanelTraits.h
│ ├── ili9481
│ │ ├── ILI9481.h
│ │ ├── ILI9481Colour.h
│ │ ├── ILI9481Colour16Specialisation.h
│ │ ├── ILI9481Gamma.h
│ │ ├── ILI9481LandscapeSpecialisation.h
│ │ ├── ILI9481Orientation.h
│ │ ├── ILI9481PortraitSpecialisation.h
│ │ └── commands
│ │ │ └── AllCommands.h
│ ├── lds285
│ │ ├── LDS285.h
│ │ ├── LDS285Backlight.h
│ │ ├── LDS285Colour.h
│ │ ├── LDS285Colour16Specialisation.h
│ │ ├── LDS285Colour18Specialisation.h
│ │ ├── LDS285Colour24Specialisation.h
│ │ ├── LDS285LandscapeSpecialisation.h
│ │ ├── LDS285Orientation.h
│ │ ├── LDS285PortraitSpecialisation.h
│ │ ├── commands
│ │ │ └── AllCommands.h
│ │ └── panelTraits
│ │ │ ├── NokiaN95_8Gb_TypeA.h
│ │ │ └── NokiaN95_8Gb_TypeB.h
│ ├── mc2pa8201
│ │ ├── MC2PA8201.h
│ │ ├── MC2PA8201Colour.h
│ │ ├── MC2PA8201Colour16Specialisation.h
│ │ ├── MC2PA8201Colour18Specialisation.h
│ │ ├── MC2PA8201Colour24Specialisation.h
│ │ ├── MC2PA8201LandscapeSpecialisation.h
│ │ ├── MC2PA8201Orientation.h
│ │ ├── MC2PA8201PortraitSpecialisation.h
│ │ ├── commands
│ │ │ └── AllCommands.h
│ │ └── panelTraits
│ │ │ ├── Nokia6300_TypeA.h
│ │ │ ├── Nokia6300_TypeB.h
│ │ │ ├── Nokia6300_TypeC.h
│ │ │ ├── NokiaE73_TypeA.h
│ │ │ ├── NokiaN82_TypeA.h
│ │ │ ├── NokiaN82_TypeB.h
│ │ │ ├── NokiaN82_TypeC.h
│ │ │ └── NokiaN93_TypeA.h
│ └── r61523
│ │ ├── R61523.h
│ │ ├── R61523Colour.h
│ │ ├── R61523Colour16Specialisation.h
│ │ ├── R61523Colour18Specialisation.h
│ │ ├── R61523Colour24Specialisation.h
│ │ ├── R61523Gamma.h
│ │ ├── R61523LandscapeSpecialisation.h
│ │ ├── R61523Orientation.h
│ │ ├── R61523PortraitSpecialisation.h
│ │ ├── R61523PwmBacklight.h
│ │ ├── commands
│ │ └── AllCommands.h
│ │ └── panelTraits
│ │ ├── SonyU5Vivaz_TypeA.h
│ │ └── SonyU5Vivaz_TypeB.h
├── gl
│ ├── Bitmap.h
│ ├── Bitmap.inl
│ ├── ColourNames.h
│ ├── DoublePrecision.h
│ ├── Ellipse.inl
│ ├── Fundamentals.inl
│ ├── GraphicsLibrary.h
│ ├── LzgText.inl
│ ├── Point.cpp
│ ├── Point.h
│ ├── Primitives.inl
│ ├── Rectangle.h
│ ├── Rectangle.inl
│ ├── Size.h
│ └── Text.inl
└── terminal
│ ├── TerminalBase.h
│ ├── TerminalLandscapeImpl.h
│ └── TerminalPortraitImpl.h
├── mkrelease.pl
├── resources
├── jpeg
│ ├── test0.jpg
│ ├── test1.jpg
│ ├── test2.jpg
│ ├── test3.jpg
│ └── test4.jpg
├── png
│ ├── MediaPlayer.png
│ ├── ScreenStrip.png
│ ├── bulb.png
│ ├── cloud100x100.png
│ ├── doc.png
│ ├── flag.png
│ ├── globe.png
│ └── logo.png
├── truetype
│ ├── Logo.S
│ ├── Lzg_font_applegaramond.cpp
│ ├── Lzg_font_applegaramond.h
│ ├── Lzg_font_applegaramond.xml
│ ├── Lzg_font_happysans.cpp
│ ├── Lzg_font_happysans.h
│ ├── Lzg_font_happysans.xml
│ ├── Lzg_font_linuxlibertine_20.cpp
│ ├── Lzg_font_linuxlibertine_20.h
│ ├── Lzg_font_linuxlibertine_20.xml
│ ├── logo.png
│ ├── logo.tif
│ ├── logo_400.png
│ └── logo_400.tif
└── weather
│ ├── 0.png
│ ├── 1.png
│ ├── 2.png
│ ├── 3.png
│ ├── 4.png
│ ├── 5.png
│ ├── 6.png
│ ├── 7.png
│ ├── 8.png
│ ├── 9.png
│ ├── C.png
│ ├── allDigits.png
│ ├── compress_nokia.sh
│ ├── degree.png
│ ├── partlyCloudy.png
│ ├── point.png
│ ├── rain.png
│ ├── snow.png
│ ├── sun.png
│ └── weather_links.txt
└── utility
├── bin
├── FontConv.exe
├── LzgFontConv.exe
├── bm2rgbi.exe
└── lzg.exe
├── bm2rgbi
├── bm2rgbi.sln
├── bm2rgbi
│ ├── Generic565Converter.cs
│ ├── Generic666RGBConverter.cs
│ ├── HX8347AConverter.cs
│ ├── HX8347AConverter64.cs
│ ├── HX8352AConverter.cs
│ ├── HX8352AConverter262.cs
│ ├── HX8352AConverter64.cs
│ ├── IBitmapConverter.cs
│ ├── ILI9325AConverter.cs
│ ├── ILI9325AConverter262.cs
│ ├── ILI9325AConverter64.cs
│ ├── ILI9325Converter.cs
│ ├── ILI9325Converter262.cs
│ ├── ILI9325Converter64.cs
│ ├── ILI9327Converter.cs
│ ├── ILI9327Converter262.cs
│ ├── ILI9327Converter64.cs
│ ├── ILI9481Converter.cs
│ ├── ILI9481Converter262.cs
│ ├── ILI9481Converter64.cs
│ ├── LDS285Converter.cs
│ ├── LDS285Converter16.cs
│ ├── LDS285Converter262.cs
│ ├── LDS285Converter64.cs
│ ├── MC2PA8201Converter.cs
│ ├── MC2PA8201Converter16.cs
│ ├── MC2PA8201Converter262.cs
│ ├── MC2PA8201Converter64.cs
│ ├── Program.cs
│ ├── ProgramArgs.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── R615231Converter16.cs
│ ├── R61523Converter.cs
│ ├── R61523Converter262.cs
│ ├── R61523Converter64.cs
│ ├── SSD1963Converter.cs
│ ├── SSD1963Converter16.cs
│ ├── SSD1963Converter262.cs
│ ├── ST7783Converter.cs
│ ├── ST7783Converter262.cs
│ ├── ST7783Converter64.cs
│ └── bm2rgbi.csproj
└── samples
│ ├── 320x240_landscape.64
│ ├── 320x240_landscape.png
│ ├── 320x240_landscape_mc2pa8201.262
│ ├── 320x240_landscape_mc2pa8201.64
│ ├── 320x240_portrait.png
│ ├── 320x240_portrait_mc2pa8201.262
│ ├── 320x480_ili9481.262
│ ├── 320x480_ili9481.64
│ ├── 320x480_portrait.png
│ ├── 400x240_landscape.png
│ ├── audio.ili9325.262.lzg
│ ├── audio.png
│ ├── bulb.ili9325.262.lzg
│ ├── bulb.png
│ ├── doc.ili9325.262.lzg
│ ├── doc.png
│ ├── flag.ili9325.262.lzg
│ ├── flag.png
│ ├── globe.ili9325.262.lzg
│ └── globe.png
└── fonts
├── AtariST8x16SystemFont.ttf
├── FontConv
├── ArduinoFontWriter.cs
├── CharPreview.Designer.cs
├── CharPreview.cs
├── FontChar.Designer.cs
├── FontChar.cs
├── FontChar.resx
├── FontConv.csproj
├── FontConv.sln
├── FontReader.cs
├── FontUtil.cs
├── FontWriter.cs
├── FormMain.Designer.cs
├── FormMain.cs
├── FormMain.resx
├── PreviewText.Designer.cs
├── PreviewText.cs
├── Program.cs
├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── SizedFont.cs
├── Stm32plusFontWriter.cs
├── TargetDevice.cs
├── Util.cs
├── XmlUtil.cs
└── logo.png
├── LzgFontConv
├── ArduinoFontWriter.cs
├── CharDef.cs
├── CharacterDefinitions.cs
├── ColourPanel.cs
├── FontDefinition.cs
├── FontFilenames.cs
├── FontWriter.cs
├── FormMain.Designer.cs
├── FormMain.cs
├── FormMain.resx
├── FormProgress.Designer.cs
├── FormProgress.cs
├── FormProgress.resx
├── LzgFontConv.csproj
├── LzgFontConv.sln
├── MemoryEstimator.cs
├── PreviewPanel.cs
├── Program.cs
├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── Stm32plusFontWriter.cs
├── XmlUtil.cs
├── app.config
└── logo.png
├── Nintendo-DS-BIOS.ttf
├── PIXELADE.TTF
├── Perfect DOS VGA 437 Win.ttf
├── ProggyClean.ttf
├── VolterGoldfish_9
└── Volter__28Goldfish_29.ttf
├── apple
├── Apple.h
├── Apple.ttf
└── Apple.xml
├── kyrou_9
├── Kyrou 9 Regular Bold Xtnd.ttf
├── Kyrou 9 Regular Bold.ttf
├── Kyrou 9 Regular Xtnd.ttf
└── Kyrou 9 Regular.ttf
└── tama_ss01.TTF
/.gitignore:
--------------------------------------------------------------------------------
1 | doc/output/
2 | *~
3 | *.lock
4 | *.DS_Store
5 | *.swp
6 | *.out
7 | *.class
8 | *.zip
9 | #OS junk files
10 | [Tt]humbs.db
11 |
12 | *.a
13 | *.o
14 |
15 | #Visual Studio files
16 |
17 | *.[Oo]bj
18 | *.user
19 | *.aps
20 | *.pch
21 | *.vspscc
22 | *.vssscc
23 | *_i.c
24 | *_p.c
25 | *.ncb
26 | *.suo
27 | *.tlb
28 | *.tlh
29 | *.bak
30 | *.[Cc]ache
31 | *.ilk
32 | *.log
33 | *.lib
34 | *.sbr
35 | *.sdf
36 | *.opensdf
37 | ipch/
38 | obj/
39 | [Dd]ebug*/
40 | [Rr]elease*/
41 | Ankh.NoLoad
42 |
43 | #Tooling
44 | _ReSharper*/
45 | *.resharper
46 | [Tt]est[Rr]esult*
47 |
48 | #Project files
49 | [Bb]uild/
50 |
51 | #Subversion files
52 | .svn
53 |
54 | # Office Temp Files
55 | ~$*
56 |
57 | VERSION
58 |
--------------------------------------------------------------------------------
/examples/.gitignore:
--------------------------------------------------------------------------------
1 | eclipse
2 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/AllPanels/JpegSerial/SendJpeg/SendJpeg.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SendJpeg", "SendJpeg.csproj", "{5CDD028F-2C74-4093-9CE0-745394E80E65}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {5CDD028F-2C74-4093-9CE0-745394E80E65}.Debug|x86.ActiveCfg = Debug|x86
13 | {5CDD028F-2C74-4093-9CE0-745394E80E65}.Debug|x86.Build.0 = Debug|x86
14 | {5CDD028F-2C74-4093-9CE0-745394E80E65}.Release|x86.ActiveCfg = Release|x86
15 | {5CDD028F-2C74-4093-9CE0-745394E80E65}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/AllPanels/JpegSerial/test0.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/AllPanels/JpegSerial/test0.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/AllPanels/JpegSerial/test1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/AllPanels/JpegSerial/test1.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/AllPanels/JpegSerial/test2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/AllPanels/JpegSerial/test2.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/AllPanels/JpegSerial/test3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/AllPanels/JpegSerial/test3.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/AllPanels/JpegSerial/test4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/AllPanels/JpegSerial/test4.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/GraphicsLibraryDemo/Lzg_font_applegaramond.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_APPLE_GARAMOND_CHAR[];
10 |
11 | class Font_APPLE_GARAMOND_28 : public LzgFont {
12 | public:
13 | Font_APPLE_GARAMOND_28()
14 | : LzgFont(32,56,32,0,FDEF_APPLE_GARAMOND_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/GraphicsLibraryDemo/Lzg_font_applegaramond.xml:
--------------------------------------------------------------------------------
1 |
2 | Apple Garamond
3 | 28
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | TrueType fonts on the Arduino
13 |
14 | ili9327 64
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/GraphicsLibraryDemo/Lzg_font_happysans.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_HAPPY_SANS_CHAR[];
10 |
11 | class Font_HAPPY_SANS_32 : public LzgFont {
12 | public:
13 | Font_HAPPY_SANS_32()
14 | : LzgFont(32,56,37,0,FDEF_HAPPY_SANS_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/GraphicsLibraryDemo/Lzg_font_happysans.xml:
--------------------------------------------------------------------------------
1 |
2 | Happy Sans
3 | 32
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | presents...
13 |
14 | ili9327 64
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/GraphicsLibraryDemo/cloud100x100.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/GraphicsLibraryDemo/cloud100x100.bin
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/GraphicsLibraryDemo/globe.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/GraphicsLibraryDemo/globe.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/JpegFlash/test0.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/JpegFlash/test0.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/JpegFlash/test1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/JpegFlash/test1.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/JpegFlash/test2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/JpegFlash/test2.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/JpegFlash/test3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/JpegFlash/test3.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/JpegFlash/test4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/JpegFlash/test4.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/TrueType/LogoBitmap.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Include the large bitmap binary directly into
3 | * flash, the location of which is at the discretion
4 | * of the linker. We export the address and the calculated
5 | * size to the C++ demo code with the .global directive
6 | */
7 |
8 | void _asmStub() {
9 |
10 | __asm volatile(
11 | ".global LogoPixels\n\t"
12 | ".global LogoPixelsSize\n\t"
13 |
14 | "LogoPixels:\n\t"
15 | ".incbin \"libraries/xmemtft/examples/HX8347A/TrueType/logo.lzg\"\n\t"
16 | "LogoPixelsSize=.-LogoPixels\n\t"
17 |
18 | ".balign 2 \n\t"
19 | );
20 | }
21 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/TrueType/Lzg_font_applegaramond.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_APPLE_GARAMOND_CHAR[];
10 |
11 | class Font_APPLE_GARAMOND_28 : public LzgFont {
12 | public:
13 | Font_APPLE_GARAMOND_28()
14 | : LzgFont(32,56,32,0,FDEF_APPLE_GARAMOND_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/TrueType/Lzg_font_applegaramond.xml:
--------------------------------------------------------------------------------
1 |
2 | Apple Garamond
3 | 28
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | TrueType fonts on the Arduino
13 |
14 | ili9327 64
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/TrueType/Lzg_font_happysans.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_HAPPY_SANS_CHAR[];
10 |
11 | class Font_HAPPY_SANS_32 : public LzgFont {
12 | public:
13 | Font_HAPPY_SANS_32()
14 | : LzgFont(32,56,37,0,FDEF_HAPPY_SANS_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/TrueType/Lzg_font_happysans.xml:
--------------------------------------------------------------------------------
1 |
2 | Happy Sans
3 | 32
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | presents...
13 |
14 | ili9327 64
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/TrueType/logo.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/TrueType/logo.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/Weather/0.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/Weather/0.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/Weather/1.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/Weather/1.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/Weather/2.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/Weather/2.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/Weather/3.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/Weather/3.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/Weather/4.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/Weather/4.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/Weather/5.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/Weather/5.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/Weather/6.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/Weather/6.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/Weather/7.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/Weather/7.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/Weather/8.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/Weather/8.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/Weather/9.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/Weather/9.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/Weather/C.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/Weather/C.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/Weather/allDigits.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/Weather/allDigits.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/Weather/degree.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/Weather/degree.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/Weather/partlyCloudy.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/Weather/partlyCloudy.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/Weather/point.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/Weather/point.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/Weather/rain.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/Weather/rain.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/Weather/snow.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/Weather/snow.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8347A/Weather/sun.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8347A/Weather/sun.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/GraphicsLibraryDemo/Lzg_font_applegaramond.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_APPLE_GARAMOND_CHAR[];
10 |
11 | class Font_APPLE_GARAMOND_28 : public LzgFont {
12 | public:
13 | Font_APPLE_GARAMOND_28()
14 | : LzgFont(32,56,32,0,FDEF_APPLE_GARAMOND_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/GraphicsLibraryDemo/Lzg_font_applegaramond.xml:
--------------------------------------------------------------------------------
1 |
2 | Apple Garamond
3 | 28
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | TrueType fonts on the Arduino
13 |
14 | ili9327 64
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/GraphicsLibraryDemo/Lzg_font_happysans.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_HAPPY_SANS_CHAR[];
10 |
11 | class Font_HAPPY_SANS_32 : public LzgFont {
12 | public:
13 | Font_HAPPY_SANS_32()
14 | : LzgFont(32,56,37,0,FDEF_HAPPY_SANS_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/GraphicsLibraryDemo/Lzg_font_happysans.xml:
--------------------------------------------------------------------------------
1 |
2 | Happy Sans
3 | 32
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | presents...
13 |
14 | ili9327 64
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/GraphicsLibraryDemo/cloud100x100.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/GraphicsLibraryDemo/cloud100x100.bin
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/GraphicsLibraryDemo/globe.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/GraphicsLibraryDemo/globe.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/JpegFlash/test0.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/JpegFlash/test0.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/JpegFlash/test1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/JpegFlash/test1.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/JpegFlash/test2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/JpegFlash/test2.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/JpegFlash/test3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/JpegFlash/test3.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/JpegFlash/test4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/JpegFlash/test4.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/TrueType/LogoBitmap.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Include the large bitmap binary directly into
3 | * flash, the location of which is at the discretion
4 | * of the linker. We export the address and the calculated
5 | * size to the C++ demo code with the .global directive
6 | */
7 |
8 | void _asmStub() {
9 |
10 | __asm volatile(
11 | ".global LogoPixels\n\t"
12 | ".global LogoPixelsSize\n\t"
13 |
14 | "LogoPixels:\n\t"
15 | ".incbin \"libraries/xmemtft/examples/HX8347A/TrueType/logo.lzg\"\n\t"
16 | "LogoPixelsSize=.-LogoPixels\n\t"
17 |
18 | ".balign 2 \n\t"
19 | );
20 | }
21 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/TrueType/Lzg_font_applegaramond.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_APPLE_GARAMOND_CHAR[];
10 |
11 | class Font_APPLE_GARAMOND_28 : public LzgFont {
12 | public:
13 | Font_APPLE_GARAMOND_28()
14 | : LzgFont(32,56,32,0,FDEF_APPLE_GARAMOND_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/TrueType/Lzg_font_applegaramond.xml:
--------------------------------------------------------------------------------
1 |
2 | Apple Garamond
3 | 28
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | TrueType fonts on the Arduino
13 |
14 | ili9327 64
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/TrueType/Lzg_font_happysans.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_HAPPY_SANS_CHAR[];
10 |
11 | class Font_HAPPY_SANS_32 : public LzgFont {
12 | public:
13 | Font_HAPPY_SANS_32()
14 | : LzgFont(32,56,37,0,FDEF_HAPPY_SANS_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/TrueType/Lzg_font_happysans.xml:
--------------------------------------------------------------------------------
1 |
2 | Happy Sans
3 | 32
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | presents...
13 |
14 | ili9327 64
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/TrueType/logo.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/TrueType/logo.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/Weather/0.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/Weather/0.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/Weather/1.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/Weather/1.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/Weather/2.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/Weather/2.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/Weather/3.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/Weather/3.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/Weather/4.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/Weather/4.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/Weather/5.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/Weather/5.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/Weather/6.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/Weather/6.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/Weather/7.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/Weather/7.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/Weather/8.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/Weather/8.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/Weather/9.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/Weather/9.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/Weather/C.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/Weather/C.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/Weather/allDigits.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/Weather/allDigits.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/Weather/degree.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/Weather/degree.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/Weather/partlyCloudy.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/Weather/partlyCloudy.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/Weather/point.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/Weather/point.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/Weather/rain.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/Weather/rain.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/Weather/snow.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/Weather/snow.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/HX8352A/Weather/sun.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/HX8352A/Weather/sun.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/GraphicsLibraryDemo/Lzg_font_applegaramond.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_APPLE_GARAMOND_CHAR[];
10 |
11 | class Font_APPLE_GARAMOND_28 : public LzgFont {
12 | public:
13 | Font_APPLE_GARAMOND_28()
14 | : LzgFont(32,56,32,0,FDEF_APPLE_GARAMOND_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/GraphicsLibraryDemo/Lzg_font_applegaramond.xml:
--------------------------------------------------------------------------------
1 |
2 | Apple Garamond
3 | 28
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | TrueType fonts on the Arduino
13 |
14 | ili9327 64
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/GraphicsLibraryDemo/Lzg_font_happysans.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_HAPPY_SANS_CHAR[];
10 |
11 | class Font_HAPPY_SANS_32 : public LzgFont {
12 | public:
13 | Font_HAPPY_SANS_32()
14 | : LzgFont(32,56,37,0,FDEF_HAPPY_SANS_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/GraphicsLibraryDemo/Lzg_font_happysans.xml:
--------------------------------------------------------------------------------
1 |
2 | Happy Sans
3 | 32
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | presents...
13 |
14 | ili9327 64
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/GraphicsLibraryDemo/cloud100x100.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/GraphicsLibraryDemo/cloud100x100.bin
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/GraphicsLibraryDemo/globe.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/GraphicsLibraryDemo/globe.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/JpegFlash/test0.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/JpegFlash/test0.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/JpegFlash/test1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/JpegFlash/test1.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/JpegFlash/test2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/JpegFlash/test2.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/JpegFlash/test3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/JpegFlash/test3.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/JpegFlash/test4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/JpegFlash/test4.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/TrueType/LogoBitmap.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Include the large bitmap binary directly into
3 | * flash, the location of which is at the discretion
4 | * of the linker. We export the address and the calculated
5 | * size to the C++ demo code with the .global directive
6 | */
7 |
8 | void _asmStub() {
9 |
10 | __asm volatile(
11 | ".global LogoPixels\n\t"
12 | ".global LogoPixelsSize\n\t"
13 |
14 | "LogoPixels:\n\t"
15 | ".incbin \"libraries/xmemtft/examples/ILI9325/TrueType/logo.lzg\"\n\t"
16 | "LogoPixelsSize=.-LogoPixels\n\t"
17 |
18 | ".balign 2 \n\t"
19 | );
20 | }
21 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/TrueType/Lzg_font_applegaramond.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_APPLE_GARAMOND_CHAR[];
10 |
11 | class Font_APPLE_GARAMOND_28 : public LzgFont {
12 | public:
13 | Font_APPLE_GARAMOND_28()
14 | : LzgFont(32,56,32,0,FDEF_APPLE_GARAMOND_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/TrueType/Lzg_font_applegaramond.xml:
--------------------------------------------------------------------------------
1 |
2 | Apple Garamond
3 | 28
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | TrueType fonts on the Arduino
13 |
14 | ili9327 64
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/TrueType/Lzg_font_happysans.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_HAPPY_SANS_CHAR[];
10 |
11 | class Font_HAPPY_SANS_32 : public LzgFont {
12 | public:
13 | Font_HAPPY_SANS_32()
14 | : LzgFont(32,56,37,0,FDEF_HAPPY_SANS_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/TrueType/Lzg_font_happysans.xml:
--------------------------------------------------------------------------------
1 |
2 | Happy Sans
3 | 32
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | presents...
13 |
14 | ili9327 64
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/TrueType/logo.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/TrueType/logo.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/Weather/0.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/Weather/0.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/Weather/1.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/Weather/1.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/Weather/2.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/Weather/2.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/Weather/3.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/Weather/3.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/Weather/4.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/Weather/4.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/Weather/5.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/Weather/5.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/Weather/6.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/Weather/6.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/Weather/7.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/Weather/7.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/Weather/8.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/Weather/8.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/Weather/9.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/Weather/9.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/Weather/C.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/Weather/C.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/Weather/allDigits.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/Weather/allDigits.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/Weather/degree.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/Weather/degree.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/Weather/partlyCloudy.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/Weather/partlyCloudy.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/Weather/point.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/Weather/point.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/Weather/rain.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/Weather/rain.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/Weather/snow.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/Weather/snow.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9325/Weather/sun.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9325/Weather/sun.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/GraphicsLibraryDemo/Lzg_font_applegaramond.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_APPLE_GARAMOND_CHAR[];
10 |
11 | class Font_APPLE_GARAMOND_28 : public LzgFont {
12 | public:
13 | Font_APPLE_GARAMOND_28()
14 | : LzgFont(32,56,32,0,FDEF_APPLE_GARAMOND_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/GraphicsLibraryDemo/Lzg_font_applegaramond.xml:
--------------------------------------------------------------------------------
1 |
2 | Apple Garamond
3 | 28
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | TrueType fonts on the Arduino
13 |
14 | ili9327 64
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/GraphicsLibraryDemo/Lzg_font_happysans.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_HAPPY_SANS_CHAR[];
10 |
11 | class Font_HAPPY_SANS_32 : public LzgFont {
12 | public:
13 | Font_HAPPY_SANS_32()
14 | : LzgFont(32,56,37,0,FDEF_HAPPY_SANS_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/GraphicsLibraryDemo/Lzg_font_happysans.xml:
--------------------------------------------------------------------------------
1 |
2 | Happy Sans
3 | 32
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | presents...
13 |
14 | ili9327 64
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/GraphicsLibraryDemo/cloud100x100.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/GraphicsLibraryDemo/cloud100x100.bin
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/GraphicsLibraryDemo/globe.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/GraphicsLibraryDemo/globe.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/JpegFlash/test0.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/JpegFlash/test0.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/JpegFlash/test1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/JpegFlash/test1.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/JpegFlash/test2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/JpegFlash/test2.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/JpegFlash/test3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/JpegFlash/test3.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/JpegFlash/test4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/JpegFlash/test4.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/TrueType/LogoBitmap.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Include the large bitmap binary directly into
3 | * flash, the location of which is at the discretion
4 | * of the linker. We export the address and the calculated
5 | * size to the C++ demo code with the .global directive
6 | */
7 |
8 | void _asmStub() {
9 |
10 | __asm volatile(
11 | ".global LogoPixels\n\t"
12 | ".global LogoPixelsSize\n\t"
13 |
14 | "LogoPixels:\n\t"
15 | ".incbin \"libraries/xmemtft/examples/ILI9327/TrueType/logo.lzg\"\n\t"
16 | "LogoPixelsSize=.-LogoPixels\n\t"
17 |
18 | ".balign 2 \n\t"
19 | );
20 | }
21 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/TrueType/Lzg_font_applegaramond.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_APPLE_GARAMOND_CHAR[];
10 |
11 | class Font_APPLE_GARAMOND_28 : public LzgFont {
12 | public:
13 | Font_APPLE_GARAMOND_28()
14 | : LzgFont(32,56,32,0,FDEF_APPLE_GARAMOND_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/TrueType/Lzg_font_applegaramond.xml:
--------------------------------------------------------------------------------
1 |
2 | Apple Garamond
3 | 28
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | TrueType fonts on the Arduino
13 |
14 | ili9327 64
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/TrueType/Lzg_font_happysans.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_HAPPY_SANS_CHAR[];
10 |
11 | class Font_HAPPY_SANS_32 : public LzgFont {
12 | public:
13 | Font_HAPPY_SANS_32()
14 | : LzgFont(32,56,37,0,FDEF_HAPPY_SANS_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/TrueType/Lzg_font_happysans.xml:
--------------------------------------------------------------------------------
1 |
2 | Happy Sans
3 | 32
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | presents...
13 |
14 | ili9327 64
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/TrueType/logo.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/TrueType/logo.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/Weather/0.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/Weather/0.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/Weather/1.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/Weather/1.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/Weather/2.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/Weather/2.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/Weather/3.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/Weather/3.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/Weather/4.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/Weather/4.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/Weather/5.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/Weather/5.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/Weather/6.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/Weather/6.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/Weather/7.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/Weather/7.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/Weather/8.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/Weather/8.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/Weather/9.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/Weather/9.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/Weather/C.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/Weather/C.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/Weather/allDigits.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/Weather/allDigits.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/Weather/degree.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/Weather/degree.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/Weather/partlyCloudy.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/Weather/partlyCloudy.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/Weather/point.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/Weather/point.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/Weather/rain.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/Weather/rain.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/Weather/snow.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/Weather/snow.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9327/Weather/sun.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9327/Weather/sun.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/GraphicsLibraryDemo/Lzg_font_applegaramond.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_APPLE_GARAMOND_CHAR[];
10 |
11 | class Font_APPLE_GARAMOND_28 : public LzgFont {
12 | public:
13 | Font_APPLE_GARAMOND_28()
14 | : LzgFont(32,56,32,0,FDEF_APPLE_GARAMOND_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/GraphicsLibraryDemo/Lzg_font_applegaramond.xml:
--------------------------------------------------------------------------------
1 |
2 | Apple Garamond
3 | 28
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | TrueType fonts on the Arduino
13 |
14 | ili9327 64
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/GraphicsLibraryDemo/Lzg_font_happysans.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_HAPPY_SANS_CHAR[];
10 |
11 | class Font_HAPPY_SANS_32 : public LzgFont {
12 | public:
13 | Font_HAPPY_SANS_32()
14 | : LzgFont(32,56,37,0,FDEF_HAPPY_SANS_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/GraphicsLibraryDemo/Lzg_font_happysans.xml:
--------------------------------------------------------------------------------
1 |
2 | Happy Sans
3 | 32
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | presents...
13 |
14 | ili9327 64
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/GraphicsLibraryDemo/cloud100x100.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9481/GraphicsLibraryDemo/cloud100x100.bin
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/GraphicsLibraryDemo/globe.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9481/GraphicsLibraryDemo/globe.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/JpegFlash/JpegGraphics.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Include the large bitmap binary directly into
3 | * flash, the location of which is at the discretion
4 | * of the linker. We export the address and the calculated
5 | * size to the C++ demo code with the .global directive
6 | *
7 | * YOU MUST REPLACE THE PATHNAME IN THE .incbin EXPRESSION
8 | * WITH THE CORRECT LOCATION ON YOUR SYSTEM. Either a
9 | * hardcoded pathname or anywhere on the -I search path
10 | * is good.
11 | */
12 |
13 | void _asmStub() {
14 |
15 | __asm volatile(
16 |
17 | ".global Test0Pixels\n\t"
18 | ".global Test0PixelsSize\n\t"
19 |
20 | ".global Test1Pixels\n\t"
21 | ".global Test1PixelsSize\n\t"
22 |
23 | "Test0Pixels:\n\t"
24 | ".incbin \"libraries/xmemtft/examples/ILI9481/JpegFlash/test0.jpg\"\n\t"
25 | "Test0PixelsSize=.-Test0Pixels\n\t"
26 |
27 | ".balign 2\n\t"
28 |
29 | "Test1Pixels:\n\t"
30 | ".incbin \"libraries/xmemtft/examples/ILI9481/JpegFlash/test1.jpg\"\n\t"
31 | "Test1PixelsSize=.-Test1Pixels\n\t"
32 |
33 | ".balign 2\n\t"
34 | );
35 | }
36 |
37 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/JpegFlash/test0.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9481/JpegFlash/test0.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/JpegFlash/test1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9481/JpegFlash/test1.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/TrueType/LogoBitmap.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Include the large bitmap binary directly into
3 | * flash, the location of which is at the discretion
4 | * of the linker. We export the address and the calculated
5 | * size to the C++ demo code with the .global directive
6 | */
7 |
8 | void _asmStub() {
9 |
10 | __asm volatile(
11 | ".global LogoPixels\n\t"
12 | ".global LogoPixelsSize\n\t"
13 |
14 | "LogoPixels:\n\t"
15 | ".incbin \"libraries/xmemtft/examples/ILI9481/TrueType/logo.lzg\"\n\t"
16 | "LogoPixelsSize=.-LogoPixels\n\t"
17 |
18 | ".balign 2 \n\t"
19 | );
20 | }
21 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/TrueType/Lzg_font_applegaramond.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_APPLE_GARAMOND_CHAR[];
10 |
11 | class Font_APPLE_GARAMOND_28 : public LzgFont {
12 | public:
13 | Font_APPLE_GARAMOND_28()
14 | : LzgFont(32,56,32,0,FDEF_APPLE_GARAMOND_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/TrueType/Lzg_font_applegaramond.xml:
--------------------------------------------------------------------------------
1 |
2 | Apple Garamond
3 | 28
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | TrueType fonts on the Arduino
13 |
14 | ili9327 64
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/TrueType/Lzg_font_happysans.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_HAPPY_SANS_CHAR[];
10 |
11 | class Font_HAPPY_SANS_32 : public LzgFont {
12 | public:
13 | Font_HAPPY_SANS_32()
14 | : LzgFont(32,56,37,0,FDEF_HAPPY_SANS_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/TrueType/Lzg_font_happysans.xml:
--------------------------------------------------------------------------------
1 |
2 | Happy Sans
3 | 32
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | presents...
13 |
14 | ili9327 64
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/TrueType/logo.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9481/TrueType/logo.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/Weather/0.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9481/Weather/0.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/Weather/1.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9481/Weather/1.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/Weather/2.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9481/Weather/2.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/Weather/3.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9481/Weather/3.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/Weather/4.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9481/Weather/4.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/Weather/5.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9481/Weather/5.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/Weather/6.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9481/Weather/6.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/Weather/7.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9481/Weather/7.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/Weather/8.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9481/Weather/8.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/Weather/9.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9481/Weather/9.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/Weather/C.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9481/Weather/C.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/Weather/allDigits.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9481/Weather/allDigits.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/Weather/degree.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9481/Weather/degree.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/Weather/partlyCloudy.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9481/Weather/partlyCloudy.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/Weather/point.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9481/Weather/point.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/Weather/rain.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9481/Weather/rain.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/Weather/snow.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9481/Weather/snow.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/ILI9481/Weather/sun.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/ILI9481/Weather/sun.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/GraphicsLibraryDemo/Lzg_font_applegaramond.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_APPLE_GARAMOND_CHAR[];
10 |
11 | class Font_APPLE_GARAMOND_28 : public LzgFont {
12 | public:
13 | Font_APPLE_GARAMOND_28()
14 | : LzgFont(32,56,32,0,FDEF_APPLE_GARAMOND_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/GraphicsLibraryDemo/Lzg_font_applegaramond.xml:
--------------------------------------------------------------------------------
1 |
2 | Apple Garamond
3 | 28
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | TrueType fonts on the Arduino
13 |
14 | mc2pa8201 16
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/GraphicsLibraryDemo/Lzg_font_happysans.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_HAPPY_SANS_CHAR[];
10 |
11 | class Font_HAPPY_SANS_32 : public LzgFont {
12 | public:
13 | Font_HAPPY_SANS_32()
14 | : LzgFont(32,56,37,0,FDEF_HAPPY_SANS_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/GraphicsLibraryDemo/Lzg_font_happysans.xml:
--------------------------------------------------------------------------------
1 |
2 | Happy Sans
3 | 32
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | presents...
13 |
14 | mc2pa8201 16
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/GraphicsLibraryDemo/Lzg_font_linuxlibertine_20.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_LINUX_LIBERTINE_CHAR[];
10 |
11 | class Font_LINUX_LIBERTINE_22 : public LzgFont {
12 | public:
13 | Font_LINUX_LIBERTINE_22()
14 | : LzgFont(32,63,25,0,FDEF_LINUX_LIBERTINE_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/GraphicsLibraryDemo/Lzg_font_linuxlibertine_20.xml:
--------------------------------------------------------------------------------
1 |
2 | Linux Libertine
3 | 22
4 | 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 3
8 |
9 |
10 | 0
11 |
12 | TrueType Fonts on the Arduino
13 |
14 | mc2pa8201 262
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/GraphicsLibraryDemo/cloud100x100.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/GraphicsLibraryDemo/cloud100x100.bin
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/GraphicsLibraryDemo/globe.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/GraphicsLibraryDemo/globe.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/JpegFlash/test0.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/JpegFlash/test0.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/JpegFlash/test1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/JpegFlash/test1.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/JpegFlash/test2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/JpegFlash/test2.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/JpegFlash/test3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/JpegFlash/test3.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/JpegFlash/test4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/JpegFlash/test4.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/MediaPlayer/MediaPlayer.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/MediaPlayer/MediaPlayer.bin
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/MediaPlayer/ScreenStrip.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/MediaPlayer/ScreenStrip.bin
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/SimpleBitmap/GlobeBitmap.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Include the large bitmap binary directly into
3 | * flash, the location of which is at the discretion
4 | * of the linker. We export the address and the calculated
5 | * size to the C++ demo code with the .global directive
6 | *
7 | * YOU MUST REPLACE THE PATHNAME IN THE .incbin EXPRESSION
8 | * WITH THE CORRECT LOCATION ON YOUR SYSTEM. Either a
9 | * hardcoded pathname or anywhere on the -I search path
10 | * is good.
11 | */
12 |
13 | void _asmStub() {
14 |
15 | __asm volatile(
16 | ".global GlobePixels\n\t"
17 | ".global GlobePixelsSize\n\t"
18 |
19 | "GlobePixels:\n\t"
20 | ".incbin \"libraries/xmemtft/examples/NokiaQVGA/SimpleBitmap/globe64x64.bin\"\n\t"
21 | "GlobePixelsSize=.-GlobePixels\n\t"
22 |
23 | ".balign 2 \n\t"
24 | );
25 | }
26 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/SimpleBitmap/globe64x64.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/SimpleBitmap/globe64x64.bin
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/TrueType/LogoBitmap.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Include the large bitmap binary directly into
3 | * flash, the location of which is at the discretion
4 | * of the linker. We export the address and the calculated
5 | * size to the C++ demo code with the .global directive
6 | */
7 |
8 | void _asmStub() {
9 |
10 | __asm volatile(
11 | ".global LogoPixels\n\t"
12 | ".global LogoPixelsSize\n\t"
13 |
14 | "LogoPixels:\n\t"
15 | ".incbin \"libraries/xmemtft/examples/NokiaQVGA/TrueType/logo.lzg\"\n\t"
16 | "LogoPixelsSize=.-LogoPixels\n\t"
17 |
18 | ".balign 2 \n\t"
19 | );
20 | }
21 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/TrueType/Lzg_font_applegaramond.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_APPLE_GARAMOND_CHAR[];
10 |
11 | class Font_APPLE_GARAMOND_28 : public LzgFont {
12 | public:
13 | Font_APPLE_GARAMOND_28()
14 | : LzgFont(32,56,32,0,FDEF_APPLE_GARAMOND_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/TrueType/Lzg_font_applegaramond.xml:
--------------------------------------------------------------------------------
1 |
2 | Apple Garamond
3 | 28
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | TrueType fonts on the Arduino
13 |
14 | mc2pa8201 16
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/TrueType/Lzg_font_happysans.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_HAPPY_SANS_CHAR[];
10 |
11 | class Font_HAPPY_SANS_32 : public LzgFont {
12 | public:
13 | Font_HAPPY_SANS_32()
14 | : LzgFont(32,56,37,0,FDEF_HAPPY_SANS_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/TrueType/Lzg_font_happysans.xml:
--------------------------------------------------------------------------------
1 |
2 | Happy Sans
3 | 32
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | presents...
13 |
14 | mc2pa8201 16
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/TrueType/Lzg_font_linuxlibertine_20.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_LINUX_LIBERTINE_CHAR[];
10 |
11 | class Font_LINUX_LIBERTINE_22 : public LzgFont {
12 | public:
13 | Font_LINUX_LIBERTINE_22()
14 | : LzgFont(32,63,25,0,FDEF_LINUX_LIBERTINE_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/TrueType/Lzg_font_linuxlibertine_20.xml:
--------------------------------------------------------------------------------
1 |
2 | Linux Libertine
3 | 22
4 | 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 3
8 |
9 |
10 | 0
11 |
12 | TrueType Fonts on the Arduino
13 |
14 | mc2pa8201 262
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/TrueType/logo.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/TrueType/logo.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/Weather/0.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/Weather/0.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/Weather/1.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/Weather/1.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/Weather/2.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/Weather/2.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/Weather/3.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/Weather/3.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/Weather/4.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/Weather/4.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/Weather/5.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/Weather/5.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/Weather/6.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/Weather/6.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/Weather/7.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/Weather/7.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/Weather/8.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/Weather/8.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/Weather/9.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/Weather/9.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/Weather/C.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/Weather/C.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/Weather/allDigits.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/Weather/allDigits.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/Weather/degree.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/Weather/degree.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/Weather/partlyCloudy.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/Weather/partlyCloudy.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/Weather/point.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/Weather/point.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/Weather/rain.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/Weather/rain.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/Weather/snow.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/Weather/snow.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/NokiaQVGA/Weather/sun.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/NokiaQVGA/Weather/sun.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/GraphicsLibraryDemo/BitmapPixels.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Include the large bitmap binary directly into
3 | * flash, the location of which is at the discretion
4 | * of the linker. We export the address and the calculated
5 | * size to the C++ demo code with the .global directive
6 | *
7 | * YOU MUST REPLACE THE PATHNAME IN THE .incbin EXPRESSION
8 | * WITH THE CORRECT LOCATION ON YOUR SYSTEM. Either a
9 | * hardcoded pathname or anywhere on the -I search path
10 | * is good.
11 | */
12 |
13 | void _asmStub() {
14 |
15 | __asm volatile(
16 | ".global CloudPixels \n\t"
17 | ".global CloudPixelsSize \n\t"
18 |
19 | ".global GlobePixels \n\t"
20 | ".global GlobePixelsSize \n\t"
21 |
22 | ".global LogoPixels \n\t"
23 | ".global LogoPixelsSize \n\t"
24 |
25 | "CloudPixels: \n\t"
26 | ".incbin \"libraries/xmemtft/examples/R61523/GraphicsLibraryDemo/cloud100x100.bin\" \n\t"
27 | "CloudPixelsSize=.-CloudPixels \n\t"
28 |
29 | ".balign 2 \n\t"
30 |
31 | "LogoPixels:\n\t"
32 | ".incbin \"libraries/xmemtft/examples/R61523/TrueType/logo_400.lzg\"\n\t"
33 | "LogoPixelsSize=.-LogoPixels\n\t"
34 |
35 | ".balign 2 \n\t"
36 |
37 | "GlobePixels:\n\t"
38 | ".incbin \"libraries/xmemtft/examples/R61523/GraphicsLibraryDemo/globe.lzg\" \n\t"
39 | "GlobePixelsSize=.-GlobePixels \n\t"
40 | );
41 | }
42 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/GraphicsLibraryDemo/Lzg_font_applegaramond.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_APPLE_GARAMOND_CHAR[];
10 |
11 | class Font_APPLE_GARAMOND_28 : public LzgFont {
12 | public:
13 | Font_APPLE_GARAMOND_28()
14 | : LzgFont(32,56,32,0,FDEF_APPLE_GARAMOND_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/GraphicsLibraryDemo/Lzg_font_applegaramond.xml:
--------------------------------------------------------------------------------
1 |
2 | Apple Garamond
3 | 28
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | TrueType fonts on the Arduino
13 |
14 | r61523 64
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/GraphicsLibraryDemo/Lzg_font_happysans.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_HAPPY_SANS_CHAR[];
10 |
11 | class Font_HAPPY_SANS_32 : public LzgFont {
12 | public:
13 | Font_HAPPY_SANS_32()
14 | : LzgFont(32,56,37,0,FDEF_HAPPY_SANS_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/GraphicsLibraryDemo/Lzg_font_happysans.xml:
--------------------------------------------------------------------------------
1 |
2 | Happy Sans
3 | 32
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | presents...
13 |
14 | r61523 64
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/GraphicsLibraryDemo/cloud100x100.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/GraphicsLibraryDemo/cloud100x100.bin
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/GraphicsLibraryDemo/globe.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/GraphicsLibraryDemo/globe.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/JpegFlash/test0.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/JpegFlash/test0.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/JpegFlash/test1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/JpegFlash/test1.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/JpegFlash/test2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/JpegFlash/test2.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/JpegFlash/test3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/JpegFlash/test3.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/JpegFlash/test4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/JpegFlash/test4.jpg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/TrueType/LogoBitmap.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Include the large bitmap binary directly into
3 | * flash, the location of which is at the discretion
4 | * of the linker. We export the address and the calculated
5 | * size to the C++ demo code with the .global directive
6 | */
7 |
8 | void _asmStub() {
9 |
10 | __asm volatile(
11 | ".global LogoPixels\n\t"
12 | ".global LogoPixelsSize\n\t"
13 |
14 | "LogoPixels:\n\t"
15 | ".incbin \"libraries/xmemtft/examples/R61523/TrueType/logo_400.lzg\"\n\t"
16 | "LogoPixelsSize=.-LogoPixels\n\t"
17 |
18 | ".balign 2 \n\t"
19 | );
20 | }
21 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/TrueType/Lzg_font_applegaramond.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_APPLE_GARAMOND_CHAR[];
10 |
11 | class Font_APPLE_GARAMOND_28 : public LzgFont {
12 | public:
13 | Font_APPLE_GARAMOND_28()
14 | : LzgFont(32,56,32,0,FDEF_APPLE_GARAMOND_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/TrueType/Lzg_font_applegaramond.xml:
--------------------------------------------------------------------------------
1 |
2 | Apple Garamond
3 | 28
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | TrueType fonts on the Arduino
13 |
14 | r61523 64
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/TrueType/Lzg_font_happysans.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_HAPPY_SANS_CHAR[];
10 |
11 | class Font_HAPPY_SANS_32 : public LzgFont {
12 | public:
13 | Font_HAPPY_SANS_32()
14 | : LzgFont(32,56,37,0,FDEF_HAPPY_SANS_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/TrueType/Lzg_font_happysans.xml:
--------------------------------------------------------------------------------
1 |
2 | Happy Sans
3 | 32
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | presents...
13 |
14 | r61523 64
15 |
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/TrueType/logo_400.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/TrueType/logo_400.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/Weather/0.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/Weather/0.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/Weather/1.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/Weather/1.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/Weather/2.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/Weather/2.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/Weather/3.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/Weather/3.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/Weather/4.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/Weather/4.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/Weather/5.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/Weather/5.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/Weather/6.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/Weather/6.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/Weather/7.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/Weather/7.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/Weather/8.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/Weather/8.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/Weather/9.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/Weather/9.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/Weather/C.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/Weather/C.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/Weather/allDigits.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/Weather/allDigits.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/Weather/degree.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/Weather/degree.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/Weather/partlyCloudy.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/Weather/partlyCloudy.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/Weather/point.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/Weather/point.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/Weather/rain.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/Weather/rain.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/Weather/snow.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/Weather/snow.lzg
--------------------------------------------------------------------------------
/examples/arduinoIDE/R61523/Weather/sun.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/examples/arduinoIDE/R61523/Weather/sun.lzg
--------------------------------------------------------------------------------
/lib/.settings/de.innot.avreclipse.core.prefs:
--------------------------------------------------------------------------------
1 | avrtarget/ClockFrequency=16000000
2 | avrtarget/ExtRAMSize=0
3 | avrtarget/ExtendedRAM=false
4 | avrtarget/MCUType=atmega1280
5 | avrtarget/UseEEPROM=false
6 | avrtarget/UseExtendedRAMforHeap=true
7 | eclipse.preferences.version=1
8 |
--------------------------------------------------------------------------------
/lib/FontChar.h:
--------------------------------------------------------------------------------
1 | /*
2 | XMEM LCD Library for the Arduino
3 |
4 | Copyright 2012,2013 Andrew Brown
5 |
6 | Licensed under the Apache License, Version 2.0 (the "License");
7 | you may not use this file except in compliance with the License.
8 | You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing, software
13 | distributed under the License is distributed on an "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | See the License for the specific language governing permissions and
16 | limitations under the License.
17 |
18 | This notice may not be removed or altered from any source distribution.
19 | */
20 |
21 | /**
22 | * @file FontChar.h
23 | * @brief FontChar definition.
24 | * @ingroup Fonts
25 | */
26 |
27 | #pragma once
28 |
29 | #include
30 |
31 |
32 | namespace lcd {
33 |
34 | /**
35 | * @brief A Single font character definition
36 | * @ingroup Fonts
37 | */
38 |
39 | struct FontChar {
40 | uint8_t Code; ///< The character code
41 | uint8_t PixelWidth; ///< Pixel width of this char (limit 255 pixels)
42 | const uint8_t* Data; ///< Bit-stream of data packed left to right, top to bottom
43 | };
44 | }
45 |
--------------------------------------------------------------------------------
/lib/Font_apple.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_APPLE_CHAR[];
10 |
11 | class Font_APPLE8 : public Font {
12 | public:
13 | Font_APPLE8()
14 | : Font(32,95,8,0,FDEF_APPLE_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/lib/Font_atari_st_16.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_ATARIST8X16SYSTEMFONT_CHAR[];
10 |
11 | class Font_ATARIST8X16SYSTEMFONT16 : public Font {
12 | public:
13 | Font_ATARIST8X16SYSTEMFONT16()
14 | : Font(32,96,16,0,FDEF_ATARIST8X16SYSTEMFONT_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/lib/Font_dos_16.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_PERFECT_DOS_VGA_437_WIN_CHAR[];
10 |
11 | class Font_PERFECT_DOS_VGA_437_WIN16 : public Font {
12 | public:
13 | Font_PERFECT_DOS_VGA_437_WIN16()
14 | : Font(32,143,15,0,FDEF_PERFECT_DOS_VGA_437_WIN_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/lib/Font_kyrou9_bold_8.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_KYROU_9_REGULAR_BOLD_CHAR[];
10 |
11 | class Font_KYROU_9_REGULAR_BOLD8 : public Font {
12 | public:
13 | Font_KYROU_9_REGULAR_BOLD8()
14 | : Font(32,95,12,0,FDEF_KYROU_9_REGULAR_BOLD_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/lib/Font_kyrou9_regular_8.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_KYROU_9_REGULAR_CHAR[];
10 |
11 | class Font_KYROU_9_REGULAR8 : public Font {
12 | public:
13 | Font_KYROU_9_REGULAR8()
14 | : Font(32,95,12,0,FDEF_KYROU_9_REGULAR_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/lib/Font_nintendo_ds_16.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_NINTENDO_DS_BIOS_CHAR[];
10 |
11 | class Font_NINTENDO_DS_BIOS16 : public Font {
12 | public:
13 | Font_NINTENDO_DS_BIOS16()
14 | : Font(32,94,11,0,FDEF_NINTENDO_DS_BIOS_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/lib/Font_pixelade_13.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_PIXELADE_CHAR[];
10 |
11 | class Font_PIXELADE13 : public Font {
12 | public:
13 | Font_PIXELADE13()
14 | : Font(32,95,13,0,FDEF_PIXELADE_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/lib/Font_proggy_clean_16.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_PROGGYCLEAN_CHAR[];
10 |
11 | class Font_PROGGYCLEAN16 : public Font {
12 | public:
13 | Font_PROGGYCLEAN16()
14 | : Font(32,96,14,0,FDEF_PROGGYCLEAN_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/lib/Font_tama_ss01.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_TAMA_SS01_CHAR[];
10 |
11 | class Font_TAMA_SS0117 : public Font {
12 | public:
13 | Font_TAMA_SS0117()
14 | : Font(32,95,13,2,FDEF_TAMA_SS01_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/lib/Font_volter_goldfish_9.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_VOLTER__28GOLDFISH_29_CHAR[];
10 |
11 | class Font_VOLTER__28GOLDFISH_299 : public Font {
12 | public:
13 | Font_VOLTER__28GOLDFISH_299()
14 | : Font(32,95,10,1,FDEF_VOLTER__28GOLDFISH_29_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/lib/drv/accessModes/Xmem16AccessMode.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | XMEM LCD Library for the Arduino
3 |
4 | Copyright 2012,2013 Andrew Brown
5 |
6 | Licensed under the Apache License, Version 2.0 (the "License");
7 | you may not use this file except in compliance with the License.
8 | You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing, software
13 | distributed under the License is distributed on an "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | See the License for the specific language governing permissions and
16 | limitations under the License.
17 |
18 | This notice may not be removed or altered from any source distribution.
19 | */
20 |
21 | /**
22 | * @file Xmem16AccessMode.cpp
23 | * @ingroup AccessModes
24 | * @brief Initialise the static members in the class.
25 | */
26 |
27 |
28 | #include "Arduino.h"
29 | #include "Xmem16AccessMode.h"
30 |
31 |
32 | namespace lcd {
33 |
34 | uint8_t Xmem16AccessMode::_streamIndex=0;
35 | uint8_t Xmem16AccessMode::_streamByte=0;
36 | }
37 |
38 |
--------------------------------------------------------------------------------
/lib/drv/hx8347a/HX8347AColour.h:
--------------------------------------------------------------------------------
1 | /*
2 | XMEM LCD Library for the Arduino
3 |
4 | Copyright 2012,2013 Andrew Brown
5 |
6 | Licensed under the Apache License, Version 2.0 (the "License");
7 | you may not use this file except in compliance with the License.
8 | You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing, software
13 | distributed under the License is distributed on an "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | See the License for the specific language governing permissions and
16 | limitations under the License.
17 |
18 | This notice may not be removed or altered from any source distribution.
19 | */
20 |
21 | /**
22 | * @file HX8347AColour.h
23 | * @brief Generic template definition.
24 | * @ingroup HX8347A
25 | */
26 |
27 |
28 | #pragma once
29 |
30 |
31 | namespace lcd {
32 |
33 |
34 | /**
35 | * @brief Forward declaration of the HX8347AColour template
36 | *
37 | * Empty generic class definition for HX8347A colour-dependent operations
38 | * Everything is provided in the specialisations.
39 | *
40 | * @ingroup HX8347A
41 | */
42 |
43 | template
44 | class HX8347AColour;
45 | }
46 |
47 |
48 | /*
49 | * Now include the specialisations
50 | */
51 |
52 | #include "HX8347AColour16Specialisation.h"
53 |
--------------------------------------------------------------------------------
/lib/drv/hx8352a/HX8352AColour.h:
--------------------------------------------------------------------------------
1 | /*
2 | XMEM LCD Library for the Arduino
3 |
4 | Copyright 2012,2013 Andrew Brown
5 |
6 | Licensed under the Apache License, Version 2.0 (the "License");
7 | you may not use this file except in compliance with the License.
8 | You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing, software
13 | distributed under the License is distributed on an "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | See the License for the specific language governing permissions and
16 | limitations under the License.
17 |
18 | This notice may not be removed or altered from any source distribution.
19 | */
20 |
21 | /**
22 | * @file HX8352AColour.h
23 | * @brief Generic template definition.
24 | * @ingroup HX8352A
25 | */
26 |
27 | #pragma once
28 |
29 |
30 | namespace lcd {
31 |
32 |
33 | /**
34 | * @brief Forward declaration of the HX8352AColour template
35 | *
36 | * Empty generic class definition for HX8352A colour-dependent operations
37 | * Everything is provided in the specialisations.
38 | *
39 | * @ingroup HX8352A
40 | */
41 |
42 | template
43 | class HX8352AColour;
44 | }
45 |
46 |
47 | /*
48 | * Now include the specialisations
49 | */
50 |
51 | #include "HX8352AColour16Specialisation.h"
52 |
--------------------------------------------------------------------------------
/lib/drv/hx8352a/HX8352AOrientation.h:
--------------------------------------------------------------------------------
1 | /*
2 | XMEM LCD Library for the Arduino
3 |
4 | Copyright 2012,2013 Andrew Brown
5 |
6 | Licensed under the Apache License, Version 2.0 (the "License");
7 | you may not use this file except in compliance with the License.
8 | You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing, software
13 | distributed under the License is distributed on an "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | See the License for the specific language governing permissions and
16 | limitations under the License.
17 |
18 | This notice may not be removed or altered from any source distribution.
19 | */
20 |
21 | /**
22 | * @file HX8352AOrientation.h
23 | * @brief Generic template definition.
24 | * @ingroup HX8352A
25 | */
26 |
27 |
28 | #pragma once
29 |
30 |
31 | namespace lcd {
32 |
33 |
34 | /**
35 | * @brief Forward declaration of the HX8352AOrientation template
36 | * Empty generic class definition for HX8352A orientation-dependent operations
37 | * Everything is provided in the specialisations.
38 | * @ingroup HX8352A
39 | */
40 |
41 | template
42 | class HX8352AOrientation {
43 | };
44 | }
45 |
46 |
47 | /*
48 | * Now include the specialisations
49 | */
50 |
51 | #include "HX8352APortraitSpecialisation.h"
52 | #include "HX8352ALandscapeSpecialisation.h"
53 |
--------------------------------------------------------------------------------
/lib/drv/ili9327/ILI9327Colour.h:
--------------------------------------------------------------------------------
1 | /*
2 | XMEM LCD Library for the Arduino
3 |
4 | Copyright 2012,2013 Andrew Brown
5 |
6 | Licensed under the Apache License, Version 2.0 (the "License");
7 | you may not use this file except in compliance with the License.
8 | You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing, software
13 | distributed under the License is distributed on an "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | See the License for the specific language governing permissions and
16 | limitations under the License.
17 |
18 | This notice may not be removed or altered from any source distribution.
19 | */
20 |
21 | /**
22 | * @file ILI9327Colour.h
23 | * @brief Generic template definition.
24 | * @ingroup ILI9327
25 | */
26 |
27 | #pragma once
28 |
29 |
30 | namespace lcd {
31 |
32 |
33 | /**
34 | * @brief Forward declaration of the ILI9327Colour template
35 | *
36 | * Empty generic class definition for ILI9327 colour-dependent operations
37 | * Everything is provided in the specialisations.
38 | *
39 | * @ingroup ILI9327
40 | */
41 |
42 | template
43 | class ILI9327Colour;
44 | }
45 |
46 |
47 | /*
48 | * Now include the specialisations
49 | */
50 |
51 | #include "ILI9327Colour16Specialisation.h"
52 |
--------------------------------------------------------------------------------
/lib/drv/ili9327/ILI9327Orientation.h:
--------------------------------------------------------------------------------
1 | /*
2 | XMEM LCD Library for the Arduino
3 |
4 | Copyright 2012,2013 Andrew Brown
5 |
6 | Licensed under the Apache License, Version 2.0 (the "License");
7 | you may not use this file except in compliance with the License.
8 | You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing, software
13 | distributed under the License is distributed on an "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | See the License for the specific language governing permissions and
16 | limitations under the License.
17 |
18 | This notice may not be removed or altered from any source distribution.
19 | */
20 |
21 | /**
22 | * @file ILI9327Orientation.h
23 | * @brief Generic template definition.
24 | * @ingroup ILI9327
25 | */
26 |
27 |
28 | #pragma once
29 |
30 |
31 | namespace lcd {
32 |
33 |
34 | /**
35 | * @brief Forward declaration of the ILI9327Orientation template
36 | * Empty generic class definition for ILI9327 orientation-dependent operations
37 | * Everything is provided in the specialisations.
38 | * @ingroup ILI9327
39 | */
40 |
41 | template
42 | class ILI9327Orientation {
43 | };
44 | }
45 |
46 |
47 | /*
48 | * Now include the specialisations
49 | */
50 |
51 | #include "ILI9327PortraitSpecialisation.h"
52 | #include "ILI9327LandscapeSpecialisation.h"
53 |
--------------------------------------------------------------------------------
/lib/drv/ili9327/panelTraits/ILI9327400x240PanelTraits.h:
--------------------------------------------------------------------------------
1 | /*
2 | XMEM LCD Library for the Arduino
3 |
4 | Copyright 2012,2013 Andrew Brown
5 |
6 | Licensed under the Apache License, Version 2.0 (the "License");
7 | you may not use this file except in compliance with the License.
8 | You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing, software
13 | distributed under the License is distributed on an "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | See the License for the specific language governing permissions and
16 | limitations under the License.
17 |
18 | This notice may not be removed or altered from any source distribution.
19 | */
20 |
21 | /**
22 | * @file ILI9327400x240PanelTraits.h
23 | * @brief Panel traits for a 400x240 ILI9327 panel
24 | * @ingroup ILI9327
25 | */
26 |
27 |
28 | #pragma once
29 |
30 |
31 | namespace lcd {
32 |
33 |
34 | /**
35 | * Traits class for the ILI9327 that declares a "short" panel
36 | * of 400x240, less than the driver maximum of 432x240
37 | * @ingroup ILI9327
38 | */
39 |
40 | class ILI9327400x240PanelTraits {
41 |
42 | public:
43 | enum {
44 | LONG_SIDE = 400, ///< this panel is 400 on the long side
45 | SHORT_SIDE = 240 ///< this panel is 240 on the short side
46 | };
47 | };
48 | }
49 |
--------------------------------------------------------------------------------
/lib/drv/ili9481/ILI9481Colour.h:
--------------------------------------------------------------------------------
1 | /*
2 | XMEM LCD Library for the Arduino
3 |
4 | Copyright 2012,2013 Andrew Brown
5 |
6 | Licensed under the Apache License, Version 2.0 (the "License");
7 | you may not use this file except in compliance with the License.
8 | You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing, software
13 | distributed under the License is distributed on an "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | See the License for the specific language governing permissions and
16 | limitations under the License.
17 |
18 | This notice may not be removed or altered from any source distribution.
19 | */
20 |
21 | /**
22 | * @file ILI9481Colour.h
23 | * @brief Generic template definition.
24 | * @ingroup ILI9481
25 | */
26 |
27 |
28 | #pragma once
29 |
30 |
31 | namespace lcd {
32 |
33 |
34 | /**
35 | * @brief Forward declaration of the ILI9481Colour template
36 | *
37 | * Empty generic class definition for ILI9481 colour-dependent operations
38 | * Everything is provided in the specialisations.
39 | *
40 | * @ingroup ILI9481
41 | */
42 |
43 | template
44 | class ILI9481Colour;
45 | }
46 |
47 |
48 | /*
49 | * Now include the specialisations
50 | */
51 |
52 | #include "ILI9481Colour16Specialisation.h"
53 |
--------------------------------------------------------------------------------
/lib/drv/ili9481/ILI9481Gamma.h:
--------------------------------------------------------------------------------
1 | /*
2 | * This file is a part of the open source stm32plus library.
3 | * Copyright (c) 2011,2012,2013 Andy Brown
4 | * Please see website for licensing terms.
5 | */
6 |
7 | /**
8 | * @file ILI9481Gamma.h
9 | * @brief Gamma support for the ILI9481
10 | * @ingroup ILI9481
11 | */
12 |
13 | #pragma once
14 |
15 | #include "DisplayDeviceGamma.h"
16 |
17 |
18 | namespace lcd {
19 |
20 | /**
21 | * @brief Gamma values for the ILI9481
22 | *
23 | * Samples for 3.5 inch QDS LCD: 0,0x30,0x36,0x45,0x4,0x16,0x37,0x75,0x77,0x54,0xf,0x0
24 | *
25 | * @ingroup ILI9481
26 | */
27 |
28 | struct ILI9481Gamma : DisplayDeviceGamma {
29 |
30 | /**
31 | * Constructor. The ILI9481 takes 12 gamma values. The constructor must be supplied with
32 | * those values.
33 | */
34 |
35 | ILI9481Gamma(
36 | uint16_t g1,uint16_t g2,uint16_t g3,uint16_t g4,uint16_t g5,uint16_t g6,
37 | uint16_t g7,uint16_t g8,uint16_t g9,uint16_t g10,uint16_t g11,uint16_t g12)
38 | : DisplayDeviceGamma(12) {
39 |
40 | _gamma[0]=g1;
41 | _gamma[1]=g2;
42 | _gamma[2]=g3;
43 | _gamma[3]=g4;
44 | _gamma[4]=g5;
45 | _gamma[5]=g6;
46 | _gamma[6]=g7;
47 | _gamma[7]=g8;
48 | _gamma[8]=g9;
49 | _gamma[9]=g10;
50 | _gamma[10]=g11;
51 | _gamma[11]=g12;
52 | }
53 | };
54 | }
55 |
--------------------------------------------------------------------------------
/lib/drv/ili9481/ILI9481Orientation.h:
--------------------------------------------------------------------------------
1 | /*
2 | XMEM LCD Library for the Arduino
3 |
4 | Copyright 2012,2013 Andrew Brown
5 |
6 | Licensed under the Apache License, Version 2.0 (the "License");
7 | you may not use this file except in compliance with the License.
8 | You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing, software
13 | distributed under the License is distributed on an "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | See the License for the specific language governing permissions and
16 | limitations under the License.
17 |
18 | This notice may not be removed or altered from any source distribution.
19 | */
20 |
21 | /**
22 | * @file ILI9481Orientation.h
23 | * @brief Generic template definition.
24 | * @ingroup ILI9481
25 | */
26 |
27 |
28 | #pragma once
29 |
30 |
31 | namespace lcd {
32 |
33 |
34 | /**
35 | * @brief Forward declaration of the ILI9481Orientation template
36 | * Empty generic class definition for ILI9481 orientation-dependent operations
37 | * Everything is provided in the specialisations.
38 | * @ingroup ILI9481
39 | */
40 |
41 | template
42 | class ILI9481Orientation {
43 | };
44 | }
45 |
46 |
47 | /*
48 | * Now include the specialisations
49 | */
50 |
51 | #include "ILI9481PortraitSpecialisation.h"
52 | #include "ILI9481LandscapeSpecialisation.h"
53 |
--------------------------------------------------------------------------------
/lib/drv/lds285/LDS285Orientation.h:
--------------------------------------------------------------------------------
1 | /*
2 | XMEM LCD Library for the Arduino
3 |
4 | Copyright 2012,2013 Andrew Brown
5 |
6 | Licensed under the Apache License, Version 2.0 (the "License");
7 | you may not use this file except in compliance with the License.
8 | You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing, software
13 | distributed under the License is distributed on an "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | See the License for the specific language governing permissions and
16 | limitations under the License.
17 |
18 | This notice may not be removed or altered from any source distribution.
19 | */
20 |
21 | /**
22 | * @file LDS285Orientation.h
23 | * @brief Generic template definition.
24 | * @ingroup LDS285
25 | */
26 |
27 | #pragma once
28 |
29 |
30 | namespace lcd {
31 |
32 |
33 | /**
34 | * @brief Forward declaration of the LDS285Orientation template
35 | * Empty generic class definition for LDS285 orientation-dependent operations
36 | * Everything is provided in the specialisations.
37 | * @ingroup LDS285
38 | */
39 |
40 | template
41 | class LDS285Orientation {
42 | };
43 | }
44 |
45 |
46 | /*
47 | * Now include the specialisations
48 | */
49 |
50 | #include "LDS285PortraitSpecialisation.h"
51 | #include "LDS285LandscapeSpecialisation.h"
52 |
--------------------------------------------------------------------------------
/lib/drv/r61523/R61523Colour.h:
--------------------------------------------------------------------------------
1 | /*
2 | XMEM LCD Library for the Arduino
3 |
4 | Copyright 2012,2013 Andrew Brown
5 |
6 | Licensed under the Apache License, Version 2.0 (the "License");
7 | you may not use this file except in compliance with the License.
8 | You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing, software
13 | distributed under the License is distributed on an "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | See the License for the specific language governing permissions and
16 | limitations under the License.
17 |
18 | This notice may not be removed or altered from any source distribution.
19 | */
20 |
21 | /**
22 | * @file R61523Colour.h
23 | * @brief Generic template definition.
24 | * @ingroup R61523
25 | */
26 |
27 | #pragma once
28 |
29 |
30 | namespace lcd {
31 |
32 | /**
33 | * @brief Forward declaration of the R61523Colour template
34 | *
35 | * Empty generic class definition for R61523 colour-dependent operations
36 | * Everything is provided in the specialisations.
37 | *
38 | * @ingroup R61523
39 | */
40 |
41 | template
42 | class R61523Colour;
43 | }
44 |
45 |
46 | /*
47 | * Now include the specialisations
48 | */
49 |
50 | #include "R61523Colour16Specialisation.h"
51 | #include "R61523Colour18Specialisation.h"
52 | #include "R61523Colour24Specialisation.h"
53 |
--------------------------------------------------------------------------------
/lib/drv/r61523/R61523Gamma.h:
--------------------------------------------------------------------------------
1 | /*
2 | * This file is a part of the open source stm32plus library.
3 | * Copyright (c) 2011,2012,2013 Andy Brown
4 | * Please see website for licensing terms.
5 | */
6 |
7 | #pragma once
8 |
9 | #include "DisplayDeviceGamma.h"
10 |
11 |
12 | namespace lcd {
13 |
14 | /*
15 | * Gamma values for the R61523
16 | */
17 |
18 | struct R61523Gamma : DisplayDeviceGamma {
19 |
20 | /**
21 | * Constructor
22 | * @param levels
23 | */
24 |
25 | R61523Gamma(uint8_t *levels)
26 | : DisplayDeviceGamma(13) {
27 | memcpy(&_gamma[0],levels,13);
28 | }
29 |
30 |
31 | /**
32 | * Get the maximum value for an index
33 | * @return the index maximum
34 | */
35 |
36 | static uint8_t getMaximumValue(uint16_t index) {
37 | return index==0 || index==1 || index==11 || index==12 ? 31 : 15;
38 | }
39 | };
40 | }
41 |
--------------------------------------------------------------------------------
/lib/drv/r61523/R61523Orientation.h:
--------------------------------------------------------------------------------
1 | /*
2 | XMEM LCD Library for the Arduino
3 |
4 | Copyright 2012,2013 Andrew Brown
5 |
6 | Licensed under the Apache License, Version 2.0 (the "License");
7 | you may not use this file except in compliance with the License.
8 | You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing, software
13 | distributed under the License is distributed on an "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | See the License for the specific language governing permissions and
16 | limitations under the License.
17 |
18 | This notice may not be removed or altered from any source distribution.
19 | */
20 |
21 | /**
22 | * @file R61523Orientation.h
23 | * @brief Generic template definition.
24 | * @ingroup R61523
25 | */
26 |
27 | #pragma once
28 |
29 |
30 | namespace lcd {
31 |
32 |
33 | /**
34 | * @brief Forward declaration of the R61523Orientation template
35 | * Empty generic class definition for R61523 orientation-dependent operations
36 | * Everything is provided in the specialisations.
37 | * @ingroup R61523
38 | */
39 |
40 | template
41 | class R61523Orientation {
42 | };
43 | }
44 |
45 |
46 | /*
47 | * Now include the specialisations
48 | */
49 |
50 | #include "R61523PortraitSpecialisation.h"
51 | #include "R61523LandscapeSpecialisation.h"
52 |
--------------------------------------------------------------------------------
/lib/drv/r61523/panelTraits/SonyU5Vivaz_TypeA.h:
--------------------------------------------------------------------------------
1 | /*
2 | * This file is a part of the open source stm32plus library.
3 | * Copyright (c) 2011,2012,2013 Andy Brown
4 | * Please see website for licensing terms.
5 | */
6 |
7 | #pragma once
8 |
9 |
10 | namespace lcd {
11 |
12 | /**
13 | * Panel traits for a Type A Sony U5 Vivaz
14 | *
15 | * This is the "original sony" panel that has all the correct manufacturer
16 | * values held in NVRAM and does not need runtime adjustment. Therefore
17 | * this class does not do anything.
18 | */
19 |
20 | struct SonyU5Vivaz_TypeA {
21 | template
22 | static void initialise() {
23 | }
24 | };
25 | }
26 |
--------------------------------------------------------------------------------
/lib/gl/Bitmap.h:
--------------------------------------------------------------------------------
1 | /*
2 | XMEM LCD Library for the Arduino
3 |
4 | Copyright 2012,2013 Andrew Brown
5 |
6 | Licensed under the Apache License, Version 2.0 (the "License");
7 | you may not use this file except in compliance with the License.
8 | You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing, software
13 | distributed under the License is distributed on an "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | See the License for the specific language governing permissions and
16 | limitations under the License.
17 |
18 | This notice may not be removed or altered from any source distribution.
19 | */
20 |
21 | /**
22 | * @file Bitmap.h
23 | * @brief The definition of the Bitmap structure
24 | * @ingroup GraphicsLibrary
25 | */
26 |
27 | #pragma once
28 |
29 |
30 | namespace lcd {
31 |
32 | /**
33 | * @brief Structure that defines a bitmap
34 | * @ingroup GraphicsLibrary
35 | */
36 |
37 | struct Bitmap {
38 |
39 | Size Dimensions; ///< pixel Width,Height
40 | uint32_t Pixels; ///< memory location. the choice of flash/sram is not mandated here
41 | uint32_t DataSize; ///< byte-size of the buffer pointed to by the Pixels member
42 |
43 | /**
44 | * Default constructor
45 | */
46 |
47 | Bitmap()
48 | : Dimensions(), Pixels() {
49 | }
50 | };
51 | }
52 |
--------------------------------------------------------------------------------
/lib/gl/Point.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | XMEM LCD Library for the Arduino
3 |
4 | Copyright 2012,2013 Andrew Brown
5 |
6 | Licensed under the Apache License, Version 2.0 (the "License");
7 | you may not use this file except in compliance with the License.
8 | You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing, software
13 | distributed under the License is distributed on an "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | See the License for the specific language governing permissions and
16 | limitations under the License.
17 |
18 | This notice may not be removed or altered from any source distribution.
19 | */
20 |
21 | /**
22 | * @file Point.cpp
23 | * @brief Static initialisers
24 | * @ingroup GraphicsLibrary
25 | */
26 |
27 |
28 | #include
29 | #include "Point.h"
30 |
31 |
32 | namespace lcd {
33 |
34 | /**
35 | * @brief initialise the static member
36 | */
37 |
38 | const Point Point::Origin=Point(0,0);
39 | }
40 |
--------------------------------------------------------------------------------
/resources/jpeg/test0.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/jpeg/test0.jpg
--------------------------------------------------------------------------------
/resources/jpeg/test1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/jpeg/test1.jpg
--------------------------------------------------------------------------------
/resources/jpeg/test2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/jpeg/test2.jpg
--------------------------------------------------------------------------------
/resources/jpeg/test3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/jpeg/test3.jpg
--------------------------------------------------------------------------------
/resources/jpeg/test4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/jpeg/test4.jpg
--------------------------------------------------------------------------------
/resources/png/MediaPlayer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/png/MediaPlayer.png
--------------------------------------------------------------------------------
/resources/png/ScreenStrip.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/png/ScreenStrip.png
--------------------------------------------------------------------------------
/resources/png/bulb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/png/bulb.png
--------------------------------------------------------------------------------
/resources/png/cloud100x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/png/cloud100x100.png
--------------------------------------------------------------------------------
/resources/png/doc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/png/doc.png
--------------------------------------------------------------------------------
/resources/png/flag.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/png/flag.png
--------------------------------------------------------------------------------
/resources/png/globe.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/png/globe.png
--------------------------------------------------------------------------------
/resources/png/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/png/logo.png
--------------------------------------------------------------------------------
/resources/truetype/Logo.S:
--------------------------------------------------------------------------------
1 | /*
2 | * XMEM LCD Library for the Arduino
3 | * Copyright (c) 2012 Andy Brown. All rights reserved.
4 | * This is open source software. Please see website for terms and conditions:
5 | *
6 | * http://andybrown.me.uk
7 | *
8 | * This notice may not be removed or altered from any source distribution.
9 | */
10 |
11 | .global LogoPixels
12 | .global LogoPixelsSize
13 |
14 | LogoPixels:
15 | .incbin "p:/docs/source/arduino6300/ttgraphics/logo.lzg"
16 | LogoPixelsSize=.-LogoPixels
17 |
--------------------------------------------------------------------------------
/resources/truetype/Lzg_font_applegaramond.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_APPLE_GARAMOND_CHAR[];
10 |
11 | class Font_APPLE_GARAMOND_28 : public LzgFont {
12 | public:
13 | Font_APPLE_GARAMOND_28()
14 | : LzgFont(32,56,32,0,FDEF_APPLE_GARAMOND_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/resources/truetype/Lzg_font_applegaramond.xml:
--------------------------------------------------------------------------------
1 |
2 | Apple Garamond
3 | 28
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | TrueType fonts on the Arduino
13 |
14 | mc2pa8201 16
15 |
--------------------------------------------------------------------------------
/resources/truetype/Lzg_font_happysans.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_HAPPY_SANS_CHAR[];
10 |
11 | class Font_HAPPY_SANS_32 : public LzgFont {
12 | public:
13 | Font_HAPPY_SANS_32()
14 | : LzgFont(32,56,37,0,FDEF_HAPPY_SANS_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/resources/truetype/Lzg_font_happysans.xml:
--------------------------------------------------------------------------------
1 |
2 | Happy Sans
3 | 32
4 | !,.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 5
8 |
9 |
10 | 0
11 |
12 | presents...
13 |
14 | mc2pa8201 16
15 |
--------------------------------------------------------------------------------
/resources/truetype/Lzg_font_linuxlibertine_20.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "Font.h"
4 |
5 | namespace lcd {
6 |
7 | // helper so the user can just do 'new fontname' without having to know the parameters
8 |
9 | extern const struct FontChar FDEF_LINUX_LIBERTINE_CHAR[];
10 |
11 | class Font_LINUX_LIBERTINE_22 : public LzgFont {
12 | public:
13 | Font_LINUX_LIBERTINE_22()
14 | : LzgFont(32,63,25,0,FDEF_LINUX_LIBERTINE_CHAR) {
15 | }
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/resources/truetype/Lzg_font_linuxlibertine_20.xml:
--------------------------------------------------------------------------------
1 |
2 | Linux Libertine
3 | 22
4 | 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
5 | 000000
6 | FFFF00
7 | 3
8 |
9 |
10 | 0
11 |
12 | TrueType Fonts on the Arduino
13 |
14 | mc2pa8201 262
15 |
--------------------------------------------------------------------------------
/resources/truetype/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/truetype/logo.png
--------------------------------------------------------------------------------
/resources/truetype/logo.tif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/truetype/logo.tif
--------------------------------------------------------------------------------
/resources/truetype/logo_400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/truetype/logo_400.png
--------------------------------------------------------------------------------
/resources/truetype/logo_400.tif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/truetype/logo_400.tif
--------------------------------------------------------------------------------
/resources/weather/0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/weather/0.png
--------------------------------------------------------------------------------
/resources/weather/1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/weather/1.png
--------------------------------------------------------------------------------
/resources/weather/2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/weather/2.png
--------------------------------------------------------------------------------
/resources/weather/3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/weather/3.png
--------------------------------------------------------------------------------
/resources/weather/4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/weather/4.png
--------------------------------------------------------------------------------
/resources/weather/5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/weather/5.png
--------------------------------------------------------------------------------
/resources/weather/6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/weather/6.png
--------------------------------------------------------------------------------
/resources/weather/7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/weather/7.png
--------------------------------------------------------------------------------
/resources/weather/8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/weather/8.png
--------------------------------------------------------------------------------
/resources/weather/9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/weather/9.png
--------------------------------------------------------------------------------
/resources/weather/C.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/weather/C.png
--------------------------------------------------------------------------------
/resources/weather/allDigits.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/weather/allDigits.png
--------------------------------------------------------------------------------
/resources/weather/compress_nokia.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | for i in *.png ; do ../../utility/bm2rgbi/bm2rgbi/bin/Release/bm2rgbi.exe $i "${i%.*}.lzg" mc2pa8201 262 -c ; done
4 |
--------------------------------------------------------------------------------
/resources/weather/degree.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/weather/degree.png
--------------------------------------------------------------------------------
/resources/weather/partlyCloudy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/weather/partlyCloudy.png
--------------------------------------------------------------------------------
/resources/weather/point.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/weather/point.png
--------------------------------------------------------------------------------
/resources/weather/rain.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/weather/rain.png
--------------------------------------------------------------------------------
/resources/weather/snow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/weather/snow.png
--------------------------------------------------------------------------------
/resources/weather/sun.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/resources/weather/sun.png
--------------------------------------------------------------------------------
/resources/weather/weather_links.txt:
--------------------------------------------------------------------------------
1 | http://en.wikipedia.org/wiki/File:Nuvola_weather_snow.svg
2 | http://commons.wikimedia.org/wiki/File:Crystal_Project_kweather.png
3 | http://commons.wikimedia.org/wiki/File:Weather-drizzle.svg
4 | http://commons.wikimedia.org/wiki/File:Sun.svg
5 |
--------------------------------------------------------------------------------
/utility/bin/FontConv.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/bin/FontConv.exe
--------------------------------------------------------------------------------
/utility/bin/LzgFontConv.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/bin/LzgFontConv.exe
--------------------------------------------------------------------------------
/utility/bin/bm2rgbi.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/bin/bm2rgbi.exe
--------------------------------------------------------------------------------
/utility/bin/lzg.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/bin/lzg.exe
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "bm2rgbi", "bm2rgbi\bm2rgbi.csproj", "{96885E95-63A1-4321-9708-69BF7F6FB34F}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {96885E95-63A1-4321-9708-69BF7F6FB34F}.Debug|x86.ActiveCfg = Debug|x86
13 | {96885E95-63A1-4321-9708-69BF7F6FB34F}.Debug|x86.Build.0 = Debug|x86
14 | {96885E95-63A1-4321-9708-69BF7F6FB34F}.Release|x86.ActiveCfg = Release|x86
15 | {96885E95-63A1-4321-9708-69BF7F6FB34F}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/Generic666RGBConverter.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Drawing;
3 | using System.IO;
4 |
5 | namespace bm2rgbi {
6 |
7 | ///
8 | /// Format is: 00000000RRRRRR00 GGGGGG00BBBBBB00
9 | ///
10 |
11 | class Generic666RGBConverter {
12 |
13 | ///
14 | /// Convert to 666 format
15 | ///
16 |
17 | public void convert(Bitmap bm,FileStream fs) {
18 |
19 | int x,y,r,g,b;
20 | Color c;
21 |
22 | for(y=0;y
6 | /// Convert to HX8347A internal format
7 | ///
8 |
9 | abstract public class HX8347AConverter {
10 |
11 | ///
12 | /// Get an instance of the converter
13 | ///
14 |
15 | static public IBitmapConverter createInstance(int depth) {
16 |
17 | switch(depth) {
18 | case 64:
19 | return new HX8347AConverter64();
20 |
21 | default:
22 | throw new Exception(depth+" is not a recognised colour depth for the HX8347A");
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/HX8347AConverter64.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 | using System.IO;
3 |
4 | namespace bm2rgbi {
5 |
6 | ///
7 | /// Converter for 64K colours
8 | ///
9 |
10 | public class HX8347AConverter64 : HX8347AConverter, IBitmapConverter {
11 |
12 | ///
13 | /// Use the generic converter
14 | ///
15 |
16 | private Generic565Converter _converter=new Generic565Converter();
17 |
18 | ///
19 | /// Do the conversion
20 | ///
21 |
22 | public void convert(Bitmap bm,FileStream fs) {
23 | _converter.convertRGB(bm,fs);
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/HX8352AConverter.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace bm2rgbi {
4 |
5 | ///
6 | /// Convert to HX8352A internal format
7 | ///
8 |
9 | abstract public class HX8352AConverter {
10 |
11 | ///
12 | /// Get an instance of the converter
13 | ///
14 |
15 | static public IBitmapConverter createInstance(int depth) {
16 |
17 | switch(depth) {
18 | case 64:
19 | return new HX8352AConverter64();
20 |
21 | case 262:
22 | return new HX8352AConverter262();
23 |
24 | default:
25 | throw new Exception(depth+" is not a recognised colour depth for the HX8352A");
26 | }
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/HX8352AConverter262.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 | using System.IO;
3 |
4 | namespace bm2rgbi {
5 |
6 | ///
7 | /// 262K colour converter for HX8352A. This is a packed format:
8 | /// 00000000000000RR RRRRGGGGGGBBBBBB
9 | ///
10 |
11 | class HX8352AConverter262 : HX8352AConverter, IBitmapConverter {
12 |
13 | ///
14 | /// Do the conversion.
15 | ///
16 |
17 | public void convert(Bitmap bm,FileStream fs) {
18 |
19 | int x,y,r,g,b,value;
20 | Color c;
21 |
22 | for(y=0;y> 2; // B into bits 0-5
37 |
38 | fs.WriteByte((byte) (value >>16));
39 | fs.WriteByte(0);
40 |
41 | fs.WriteByte((byte) (value & 0xff));
42 | fs.WriteByte((byte) ((value >> 8) & 0xff));
43 | }
44 | }
45 | }
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/HX8352AConverter64.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 | using System.IO;
3 |
4 | namespace bm2rgbi {
5 |
6 | ///
7 | /// Converter for 64K colours
8 | ///
9 |
10 | public class HX8352AConverter64 : HX8352AConverter, IBitmapConverter {
11 |
12 | ///
13 | /// Use the generic converter
14 | ///
15 |
16 | private Generic565Converter _converter=new Generic565Converter();
17 |
18 | ///
19 | /// Do the conversion
20 | ///
21 |
22 | public void convert(Bitmap bm,FileStream fs) {
23 | _converter.convertRGB(bm,fs);
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/IBitmapConverter.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 | using System.IO;
3 |
4 |
5 | namespace bm2rgbi {
6 |
7 | public interface IBitmapConverter {
8 |
9 | void convert(Bitmap bm,FileStream fs);
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/ILI9325AConverter.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace bm2rgbi {
4 |
5 | ///
6 | /// Convert to ILI9325 internal format specific to the Adafruit Arduino shield
7 | ///
8 |
9 | abstract public class ILI9325AConverter {
10 |
11 | ///
12 | /// Get an instance of the converter
13 | ///
14 |
15 | static public IBitmapConverter createInstance(int depth) {
16 |
17 | switch(depth) {
18 | case 64:
19 | return new ILI9325AConverter64();
20 |
21 | case 262:
22 | return new ILI9325AConverter262();
23 |
24 | default:
25 | throw new Exception(depth+" is not a recognised colour depth for the ILI9325 (adafruit shield)");
26 | }
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/ILI9325AConverter262.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Drawing;
3 | using System.IO;
4 |
5 | namespace bm2rgbi {
6 |
7 | ///
8 | /// 262K colour converter for ILI9325 (Adafruit Arduino shield). This is a packed format:
9 | /// 00000000000000RR RRRRGGGGGGBBBBBB
10 | ///
11 |
12 | class ILI9325AConverter262 : ILI9325AConverter, IBitmapConverter {
13 |
14 | ///
15 | /// Convert to 666 format
16 | ///
17 |
18 | public void convert(Bitmap bm, FileStream fs)
19 | {
20 |
21 | int x, y, r, g, b;
22 | Color c;
23 |
24 | for (y = 0; y < bm.Height; y++)
25 | {
26 |
27 | for (x = 0; x < bm.Width; x++)
28 | {
29 |
30 | c = bm.GetPixel(x, y);
31 |
32 | // convert to 666
33 |
34 | r = c.R & 0xFC;
35 | g = c.G & 0xFC;
36 | b = c.B & 0xFC;
37 |
38 | // the conversion is a tidy stream of bytes
39 |
40 | fs.WriteByte(Convert.ToByte(r));
41 | fs.WriteByte(Convert.ToByte(g));
42 | fs.WriteByte(Convert.ToByte(b));
43 | }
44 | }
45 | }
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/ILI9325AConverter64.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Drawing;
3 | using System.IO;
4 |
5 | namespace bm2rgbi {
6 |
7 | ///
8 | /// Converter for 64K colours
9 | ///
10 |
11 | public class ILI9325AConverter64 : ILI9325AConverter, IBitmapConverter {
12 |
13 | ///
14 | /// Convert to 565 format
15 | ///
16 |
17 | public void convert(Bitmap bm, FileStream fs)
18 | {
19 |
20 | int x, y, value, r, g, b;
21 | Color c;
22 |
23 | for (y = 0; y < bm.Height; y++)
24 | {
25 |
26 | for (x = 0; x < bm.Width; x++)
27 | {
28 |
29 | c = bm.GetPixel(x, y);
30 |
31 | // convert to 565
32 |
33 | r = c.R >> 3;
34 | g = c.G >> 2;
35 | b = c.B >> 3;
36 |
37 | value = r << 11 | g << 5 | b;
38 |
39 | // little-endian output
40 |
41 | fs.WriteByte(Convert.ToByte(value >> 8));
42 | fs.WriteByte(Convert.ToByte(value & 0xFF));
43 | }
44 | }
45 | }
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/ILI9325Converter.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace bm2rgbi {
4 |
5 | ///
6 | /// Convert to ILI9325 internal format
7 | ///
8 |
9 | abstract public class ILI9325Converter {
10 |
11 | ///
12 | /// Get an instance of the converter
13 | ///
14 |
15 | static public IBitmapConverter createInstance(int depth) {
16 |
17 | switch(depth) {
18 | case 64:
19 | return new ILI9325Converter64();
20 |
21 | case 262:
22 | return new ILI9325Converter262();
23 |
24 | default:
25 | throw new Exception(depth+" is not a recognised colour depth for the ILI9325");
26 | }
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/ILI9325Converter262.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 | using System.IO;
3 |
4 | namespace bm2rgbi {
5 |
6 | ///
7 | /// 262K colour converter for ILI9325. This is a packed format:
8 | /// 00000000000000RR RRRRGGGGGGBBBBBB
9 | ///
10 |
11 | class ILI9325Converter262 : ILI9325Converter, IBitmapConverter {
12 |
13 | ///
14 | /// Do the conversion.
15 | ///
16 |
17 | public void convert(Bitmap bm,FileStream fs) {
18 |
19 | int x,y,r,g,b,value;
20 | Color c;
21 |
22 | for(y=0;y> 2; // B into bits 0-5
37 |
38 | fs.WriteByte((byte) (value >>16));
39 | fs.WriteByte(0);
40 |
41 | fs.WriteByte((byte) (value & 0xff));
42 | fs.WriteByte((byte) ((value >> 8) & 0xff));
43 | }
44 | }
45 | }
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/ILI9325Converter64.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 | using System.IO;
3 |
4 | namespace bm2rgbi {
5 |
6 | ///
7 | /// Converter for 64K colours
8 | ///
9 |
10 | public class ILI9325Converter64 : ILI9325Converter, IBitmapConverter {
11 |
12 | ///
13 | /// Use the generic converter
14 | ///
15 |
16 | private Generic565Converter _converter=new Generic565Converter();
17 |
18 | ///
19 | /// Do the conversion
20 | ///
21 |
22 | public void convert(Bitmap bm,FileStream fs) {
23 | _converter.convertRGB(bm,fs);
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/ILI9327Converter.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace bm2rgbi {
4 |
5 | ///
6 | /// Convert to ILI9327 internal format
7 | ///
8 |
9 | abstract public class ILI9327Converter {
10 |
11 | ///
12 | /// Get an instance of the converter
13 | ///
14 |
15 | static public IBitmapConverter createInstance(int depth) {
16 |
17 | switch(depth) {
18 | case 64:
19 | return new ILI9327Converter64();
20 |
21 | case 262:
22 | return new ILI9327Converter262();
23 |
24 | default:
25 | throw new Exception(depth+" is not a recognised colour depth for the ILI9327");
26 | }
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/ILI9327Converter262.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 | using System.IO;
3 |
4 | namespace bm2rgbi {
5 |
6 | ///
7 | /// 262K colour converter
8 | ///
9 |
10 | class ILI9327Converter262 : ILI9327Converter, IBitmapConverter {
11 |
12 | private Generic666RGBConverter _converter=new Generic666RGBConverter();
13 |
14 | ///
15 | /// Do the conversion
16 | ///
17 |
18 | public void convert(Bitmap bm,FileStream fs) {
19 | _converter.convert(bm,fs);
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/ILI9327Converter64.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 | using System.IO;
3 |
4 | namespace bm2rgbi {
5 |
6 | ///
7 | /// Converter for 64K colours
8 | ///
9 |
10 | public class ILI9327Converter64 : ILI9327Converter, IBitmapConverter {
11 |
12 | ///
13 | /// Use the generic converter
14 | ///
15 |
16 | private Generic565Converter _converter=new Generic565Converter();
17 |
18 | ///
19 | /// Do the conversion
20 | ///
21 |
22 | public void convert(Bitmap bm,FileStream fs) {
23 | _converter.convertRGB(bm,fs);
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/ILI9481Converter.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace bm2rgbi {
4 |
5 | ///
6 | /// Convert to ILI9481 internal format
7 | ///
8 |
9 | abstract public class ILI9481Converter {
10 |
11 | ///
12 | /// Get an instance of the converter
13 | ///
14 |
15 | static public IBitmapConverter createInstance(int depth) {
16 |
17 | switch(depth) {
18 | case 64:
19 | return new ILI9481Converter64();
20 |
21 | case 262:
22 | return new ILI9481Converter262();
23 |
24 | default:
25 | throw new Exception(depth+" is not a recognised colour depth for the ILI9481");
26 | }
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/ILI9481Converter262.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 | using System.IO;
3 |
4 | namespace bm2rgbi {
5 |
6 | ///
7 | /// 262K colour converter
8 | ///
9 |
10 | class ILI9481Converter262 : ILI9481Converter, IBitmapConverter {
11 |
12 | private Generic666RGBConverter _converter=new Generic666RGBConverter();
13 |
14 | ///
15 | /// Do the conversion
16 | ///
17 |
18 | public void convert(Bitmap bm,FileStream fs) {
19 | _converter.convert(bm,fs);
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/ILI9481Converter64.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 | using System.IO;
3 |
4 | namespace bm2rgbi {
5 |
6 | ///
7 | /// Converter for 64K colours
8 | ///
9 |
10 | public class ILI9481Converter64 : ILI9481Converter, IBitmapConverter {
11 |
12 | ///
13 | /// Use the generic converter
14 | ///
15 |
16 | private Generic565Converter _converter=new Generic565Converter();
17 |
18 | ///
19 | /// Do the conversion
20 | ///
21 |
22 | public void convert(Bitmap bm,FileStream fs) {
23 | _converter.convertRGB(bm,fs);
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/LDS285Converter.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace bm2rgbi {
4 |
5 | ///
6 | /// Convert to LDS285 internal format
7 | ///
8 |
9 | abstract public class LDS285Converter {
10 |
11 | ///
12 | /// Get an instance of the converter
13 | ///
14 |
15 | static public IBitmapConverter createInstance(int depth) {
16 |
17 | switch(depth) {
18 | case 16:
19 | return new LDS285Converter16();
20 |
21 | case 262:
22 | return new LDS285Converter262();
23 |
24 | case 64:
25 | return new LDS285Converter64();
26 |
27 | default:
28 | throw new Exception(depth+" is not a recognised colour depth for the LDS285");
29 | }
30 | }
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/LDS285Converter16.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 | using System.IO;
3 |
4 | namespace bm2rgbi {
5 |
6 | ///
7 | /// 16M colour converter for LDS285. This is an unpacked format:
8 | /// BBBBBBBB GGGGGGGG RRRRRRRR
9 | ///
10 |
11 | class LDS285Converter16 : LDS285Converter, IBitmapConverter {
12 |
13 | ///
14 | /// Do the conversion.
15 | ///
16 |
17 | public void convert(Bitmap bm,FileStream fs) {
18 |
19 | int x,y;
20 | byte r,g,b;
21 | Color c;
22 |
23 | for(y=0;y
7 | /// 262K colour converter for LDS285. This is an unpacked format:
8 | /// BBBBBB00 GGGGGG00 RRRRRR00
9 | ///
10 |
11 | class LDS285Converter262 : LDS285Converter, IBitmapConverter {
12 |
13 | ///
14 | /// Do the conversion.
15 | ///
16 |
17 | public void convert(Bitmap bm,FileStream fs) {
18 |
19 | int x,y;
20 | byte r,g,b;
21 | Color c;
22 |
23 | for(y=0;y
7 | /// 64K colour converter for LDS285. This is a packed format:
8 | /// BBBBBGGG GGGRRRRR
9 | ///
10 |
11 | class LDS285Converter64 : LDS285Converter, IBitmapConverter {
12 |
13 | ///
14 | /// Do the conversion.
15 | ///
16 |
17 | public void convert(Bitmap bm,FileStream fs) {
18 |
19 | int x,y;
20 | byte r,g,b,b1,b2;
21 | Color c;
22 |
23 | for(y=0;y> 5));
36 | b2=(byte)((g << 3) | (b >> 3));
37 |
38 | fs.WriteByte(b1);
39 | fs.WriteByte(b2);
40 | }
41 | }
42 | }
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/MC2PA8201Converter.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace bm2rgbi {
4 |
5 | ///
6 | /// Convert to MC2PA8201 internal format
7 | ///
8 |
9 | abstract public class MC2PA8201Converter {
10 |
11 | ///
12 | /// Get an instance of the converter
13 | ///
14 |
15 | static public IBitmapConverter createInstance(int depth) {
16 |
17 | switch(depth) {
18 | case 16:
19 | return new MC2PA8201Converter16();
20 |
21 | case 262:
22 | return new MC2PA8201Converter262();
23 |
24 | case 64:
25 | return new MC2PA8201Converter64();
26 |
27 | default:
28 | throw new Exception(depth+" is not a recognised colour depth for the MC2PA8201");
29 | }
30 | }
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/MC2PA8201Converter16.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 | using System.IO;
3 |
4 | namespace bm2rgbi {
5 |
6 | ///
7 | /// 16M colour converter for MC2PA8201. This is a packed format:
8 | /// RRRRRRRR GGGGGGGG BBBBBBBB
9 | ///
10 |
11 | class MC2PA8201Converter16 : MC2PA8201Converter, IBitmapConverter {
12 |
13 | ///
14 | /// Do the conversion.
15 | ///
16 |
17 | public void convert(Bitmap bm,FileStream fs) {
18 |
19 | int x,y;
20 | byte r,g,b;
21 | Color c;
22 |
23 | for(y=0;y
7 | /// 262K colour converter for MC2PA8201. This is a packed format:
8 | /// RRRRRR00 BBBBBB00 GGGGGG00
9 | ///
10 |
11 | class MC2PA8201Converter262 : MC2PA8201Converter, IBitmapConverter {
12 |
13 | ///
14 | /// Do the conversion.
15 | ///
16 |
17 | public void convert(Bitmap bm,FileStream fs) {
18 |
19 | int x,y;
20 | byte r,g,b;
21 | Color c;
22 |
23 | for(y=0;y
7 | /// 64K colour converter for MC2PA8201. This is a packed format:
8 | /// BBBBBGGG GGGRRRRR
9 | ///
10 |
11 | class MC2PA8201Converter64 : MC2PA8201Converter, IBitmapConverter {
12 |
13 | ///
14 | /// Do the conversion.
15 | ///
16 |
17 | public void convert(Bitmap bm,FileStream fs) {
18 |
19 | int x,y;
20 | byte r,g,b,b1,b2;
21 | Color c;
22 |
23 | for(y=0;y> 5));
36 | b2=(byte)((g << 3) | (b >> 3));
37 |
38 | fs.WriteByte(b1);
39 | fs.WriteByte(b2);
40 | }
41 | }
42 | }
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/R615231Converter16.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 | using System.IO;
3 |
4 | namespace bm2rgbi {
5 |
6 | ///
7 | /// 16M colour converter for R61523. This is a packed format:
8 | /// BBBBBBBB GGGGGGGG RRRRRRRR
9 | ///
10 |
11 | class R61523Converter16 : R61523Converter, IBitmapConverter {
12 |
13 | ///
14 | /// Do the conversion.
15 | ///
16 |
17 | public void convert(Bitmap bm,FileStream fs) {
18 |
19 | int x,y;
20 | byte r,g,b;
21 | Color c;
22 |
23 | for(y=0;y
6 | /// Convert to R61523 internal format
7 | ///
8 |
9 | abstract public class R61523Converter {
10 |
11 | ///
12 | /// Get an instance of the converter
13 | ///
14 |
15 | static public IBitmapConverter createInstance(int depth) {
16 |
17 | switch(depth) {
18 |
19 | case 64:
20 | return new R61523Converter64();
21 |
22 | case 262:
23 | return new R61523Converter262();
24 |
25 | case 16:
26 | return new R61523Converter16();
27 |
28 | default:
29 | throw new Exception(depth+" is not a recognised colour depth for the R61523");
30 | }
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/R61523Converter262.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 | using System.IO;
3 |
4 | namespace bm2rgbi {
5 |
6 | ///
7 | /// 262K colour converter for R61523. This is a packed format:
8 | /// BBBBBB00 GGGGGG00 RRRRRR00
9 | ///
10 |
11 | class R61523Converter262 : R61523Converter, IBitmapConverter {
12 |
13 | ///
14 | /// Do the conversion.
15 | ///
16 |
17 | public void convert(Bitmap bm,FileStream fs) {
18 |
19 | int x,y;
20 | byte r,g,b;
21 | Color c;
22 |
23 | for(y=0;y
7 | /// Converter for 64K colours
8 | ///
9 |
10 | public class R61523Converter64 : R61523Converter, IBitmapConverter {
11 |
12 | ///
13 | /// Use the generic converter
14 | ///
15 |
16 | private Generic565Converter _converter=new Generic565Converter();
17 |
18 | ///
19 | /// Do the conversion
20 | ///
21 |
22 | public void convert(Bitmap bm,FileStream fs) {
23 | _converter.convertBGR(bm,fs);
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/SSD1963Converter.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace bm2rgbi {
4 |
5 | ///
6 | /// Convert to SSD1963 internal format
7 | ///
8 |
9 | abstract public class SSD1963Converter {
10 |
11 | ///
12 | /// Get an instance of the converter
13 | ///
14 |
15 | static public IBitmapConverter createInstance(int depth) {
16 |
17 | switch(depth) {
18 | case 16:
19 | return new SSD1963Converter16();
20 |
21 | case 262:
22 | return new SSD1963Converter262();
23 |
24 | default:
25 | throw new Exception(depth+" is not a recognised colour depth for the SSD1963");
26 | }
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/SSD1963Converter16.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 | using System.IO;
3 |
4 | namespace bm2rgbi {
5 |
6 | ///
7 | /// 16M colour converter for SSD1963. This is a packed format:
8 | /// 0000RRRRRRRRGGGG 0000GGGGBBBBBBBB
9 | ///
10 |
11 | class SSD1963Converter16 : SSD1963Converter, IBitmapConverter {
12 |
13 | ///
14 | /// Do the conversion.
15 | ///
16 |
17 | public void convert(Bitmap bm,FileStream fs) {
18 |
19 | int x,y;
20 |
21 | byte red,green,blue;
22 | Color c;
23 | ushort first,second;
24 |
25 | for(y=0;y> 4));
38 | second=(ushort)((((ushort)green & 0xf) << 8) | blue);
39 |
40 | fs.WriteByte((byte)(first & 0xff));
41 | fs.WriteByte((byte)(first >> 8));
42 |
43 | fs.WriteByte((byte)(second & 0xff));
44 | fs.WriteByte((byte)(second >> 8));
45 | }
46 | }
47 | }
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/SSD1963Converter262.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 | using System.IO;
3 |
4 | namespace bm2rgbi {
5 |
6 | ///
7 | /// 262K colour converter for SSD1963. This is a packed format:
8 | /// 0000RRRRRRRRGGGG 0000GGGGBBBBBBBB
9 | ///
10 |
11 | class SSD1963Converter262 : SSD1963Converter, IBitmapConverter {
12 |
13 | ///
14 | /// Do the conversion.
15 | ///
16 |
17 | public void convert(Bitmap bm,FileStream fs) {
18 |
19 | int x,y;
20 |
21 | byte red,green,blue;
22 | Color c;
23 | ushort first,second;
24 |
25 | for(y=0;y> 4));
38 | second=(ushort)((((ushort)green & 0xf) << 8) | blue);
39 |
40 | fs.WriteByte((byte)(first & 0xff));
41 | fs.WriteByte((byte)(first >> 8));
42 |
43 | fs.WriteByte((byte)(second & 0xff));
44 | fs.WriteByte((byte)(second >> 8));
45 | }
46 | }
47 | }
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/ST7783Converter.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace bm2rgbi {
4 |
5 | ///
6 | /// Convert to ST7783 internal format
7 | ///
8 |
9 | abstract public class ST7783Converter {
10 |
11 | ///
12 | /// Get an instance of the converter
13 | ///
14 |
15 | static public IBitmapConverter createInstance(int depth) {
16 |
17 | switch(depth) {
18 | case 64:
19 | return new ST7783Converter64();
20 |
21 | case 262:
22 | return new ST7783Converter262();
23 |
24 | default:
25 | throw new Exception(depth+" is not a recognised colour depth for the ST7783");
26 | }
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/ST7783Converter262.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 | using System.IO;
3 |
4 | namespace bm2rgbi {
5 |
6 | ///
7 | /// 262K colour converter for ST7783. This is a packed format:
8 | /// 00000000000000RR RRRRGGGGGGBBBBBB
9 | ///
10 |
11 | class ST7783Converter262 : ST7783Converter, IBitmapConverter {
12 |
13 | ///
14 | /// Do the conversion.
15 | ///
16 |
17 | public void convert(Bitmap bm,FileStream fs) {
18 |
19 | int x,y,r,g,b,value;
20 | Color c;
21 |
22 | for(y=0;y> 2; // B into bits 0-5
37 |
38 | fs.WriteByte((byte) (value >>16));
39 | fs.WriteByte(0);
40 |
41 | fs.WriteByte((byte) (value & 0xff));
42 | fs.WriteByte((byte) ((value >> 8) & 0xff));
43 | }
44 | }
45 | }
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/bm2rgbi/ST7783Converter64.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 | using System.IO;
3 |
4 | namespace bm2rgbi {
5 |
6 | ///
7 | /// Converter for 64K colours
8 | ///
9 |
10 | public class ST7783Converter64 : ST7783Converter, IBitmapConverter {
11 |
12 | ///
13 | /// Use the generic converter
14 | ///
15 |
16 | private Generic565Converter _converter=new Generic565Converter();
17 |
18 | ///
19 | /// Do the conversion
20 | ///
21 |
22 | public void convert(Bitmap bm,FileStream fs) {
23 | _converter.convertRGB(bm,fs);
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/utility/bm2rgbi/samples/320x240_landscape.64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/bm2rgbi/samples/320x240_landscape.64
--------------------------------------------------------------------------------
/utility/bm2rgbi/samples/320x240_landscape.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/bm2rgbi/samples/320x240_landscape.png
--------------------------------------------------------------------------------
/utility/bm2rgbi/samples/320x240_landscape_mc2pa8201.262:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/bm2rgbi/samples/320x240_landscape_mc2pa8201.262
--------------------------------------------------------------------------------
/utility/bm2rgbi/samples/320x240_landscape_mc2pa8201.64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/bm2rgbi/samples/320x240_landscape_mc2pa8201.64
--------------------------------------------------------------------------------
/utility/bm2rgbi/samples/320x240_portrait.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/bm2rgbi/samples/320x240_portrait.png
--------------------------------------------------------------------------------
/utility/bm2rgbi/samples/320x240_portrait_mc2pa8201.262:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/bm2rgbi/samples/320x240_portrait_mc2pa8201.262
--------------------------------------------------------------------------------
/utility/bm2rgbi/samples/320x480_ili9481.262:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/bm2rgbi/samples/320x480_ili9481.262
--------------------------------------------------------------------------------
/utility/bm2rgbi/samples/320x480_ili9481.64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/bm2rgbi/samples/320x480_ili9481.64
--------------------------------------------------------------------------------
/utility/bm2rgbi/samples/320x480_portrait.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/bm2rgbi/samples/320x480_portrait.png
--------------------------------------------------------------------------------
/utility/bm2rgbi/samples/400x240_landscape.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/bm2rgbi/samples/400x240_landscape.png
--------------------------------------------------------------------------------
/utility/bm2rgbi/samples/audio.ili9325.262.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/bm2rgbi/samples/audio.ili9325.262.lzg
--------------------------------------------------------------------------------
/utility/bm2rgbi/samples/audio.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/bm2rgbi/samples/audio.png
--------------------------------------------------------------------------------
/utility/bm2rgbi/samples/bulb.ili9325.262.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/bm2rgbi/samples/bulb.ili9325.262.lzg
--------------------------------------------------------------------------------
/utility/bm2rgbi/samples/bulb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/bm2rgbi/samples/bulb.png
--------------------------------------------------------------------------------
/utility/bm2rgbi/samples/doc.ili9325.262.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/bm2rgbi/samples/doc.ili9325.262.lzg
--------------------------------------------------------------------------------
/utility/bm2rgbi/samples/doc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/bm2rgbi/samples/doc.png
--------------------------------------------------------------------------------
/utility/bm2rgbi/samples/flag.ili9325.262.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/bm2rgbi/samples/flag.ili9325.262.lzg
--------------------------------------------------------------------------------
/utility/bm2rgbi/samples/flag.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/bm2rgbi/samples/flag.png
--------------------------------------------------------------------------------
/utility/bm2rgbi/samples/globe.ili9325.262.lzg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/bm2rgbi/samples/globe.ili9325.262.lzg
--------------------------------------------------------------------------------
/utility/bm2rgbi/samples/globe.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/bm2rgbi/samples/globe.png
--------------------------------------------------------------------------------
/utility/fonts/AtariST8x16SystemFont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/fonts/AtariST8x16SystemFont.ttf
--------------------------------------------------------------------------------
/utility/fonts/FontConv/CharPreview.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace FontConv
2 | {
3 | partial class CharPreview
4 | {
5 | /*
6 | * Required designer variable.
7 | */
8 | private System.ComponentModel.IContainer components=null;
9 |
10 | /*
11 | * Clean up any resources being used.
12 | */
13 |
14 | protected override void Dispose(bool disposing)
15 | {
16 | if(disposing&&(components!=null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Component Designer generated code
24 |
25 | /*
26 | * Required method for Designer support - do not modify
27 | * the contents of this method with the code editor.
28 | */
29 | private void InitializeComponent()
30 | {
31 | components=new System.ComponentModel.Container();
32 | this.AutoScaleMode=System.Windows.Forms.AutoScaleMode.Font;
33 | }
34 |
35 | #endregion
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/utility/fonts/FontConv/FontChar.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace FontConv
2 | {
3 | partial class FontChar
4 | {
5 | /*
6 | * Required designer variable.
7 | */
8 |
9 | private System.ComponentModel.IContainer components=null;
10 |
11 | /*
12 | * Clean up any resources being used.
13 | */
14 |
15 | protected override void Dispose(bool disposing)
16 | {
17 | if(disposing&&(components!=null))
18 | {
19 | components.Dispose();
20 | }
21 | base.Dispose(disposing);
22 | }
23 |
24 | #region Component Designer generated code
25 |
26 | /*
27 | * Required method for Designer support - do not modify
28 | * the contents of this method with the code editor.
29 | */
30 | private void InitializeComponent()
31 | {
32 | this.SuspendLayout();
33 | //
34 | // FontChar
35 | //
36 | this.AutoScaleDimensions=new System.Drawing.SizeF(6F,13F);
37 | this.AutoScaleMode=System.Windows.Forms.AutoScaleMode.Font;
38 | this.Name="FontChar";
39 | this.MouseLeave+=new System.EventHandler(this.FontChar_MouseLeave);
40 | this.MouseEnter+=new System.EventHandler(this.FontChar_MouseEnter);
41 | this.ResumeLayout(false);
42 |
43 | }
44 |
45 | #endregion
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/utility/fonts/FontConv/FontConv.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FontConv", "FontConv.csproj", "{34591688-EAE4-41D5-957C-AB5FA906BA80}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|Any CPU = Debug|Any CPU
9 | Release|Any CPU = Release|Any CPU
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {34591688-EAE4-41D5-957C-AB5FA906BA80}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13 | {34591688-EAE4-41D5-957C-AB5FA906BA80}.Debug|Any CPU.Build.0 = Debug|Any CPU
14 | {34591688-EAE4-41D5-957C-AB5FA906BA80}.Release|Any CPU.ActiveCfg = Release|Any CPU
15 | {34591688-EAE4-41D5-957C-AB5FA906BA80}.Release|Any CPU.Build.0 = Release|Any CPU
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/utility/fonts/FontConv/PreviewText.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace FontConv
2 | {
3 | partial class PreviewText
4 | {
5 | /*
6 | * Required designer variable.
7 | */
8 |
9 | private System.ComponentModel.IContainer components=null;
10 |
11 | /*
12 | * Clean up any resources being used.
13 | */
14 |
15 | protected override void Dispose(bool disposing)
16 | {
17 | if(disposing&&(components!=null))
18 | {
19 | components.Dispose();
20 | }
21 | base.Dispose(disposing);
22 | }
23 |
24 | #region Component Designer generated code
25 |
26 | /*
27 | * Required method for Designer support - do not modify
28 | * the contents of this method with the code editor.
29 | */
30 | private void InitializeComponent()
31 | {
32 | components=new System.ComponentModel.Container();
33 | }
34 |
35 | #endregion
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/utility/fonts/FontConv/PreviewText.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 | using System.Drawing.Text;
3 | using System.Windows.Forms;
4 |
5 | namespace FontConv {
6 |
7 | public partial class PreviewText : Label {
8 |
9 | public PreviewText() {
10 | InitializeComponent();
11 | }
12 |
13 | protected override void OnPaint(PaintEventArgs e) {
14 | e.Graphics.TextRenderingHint=TextRenderingHint.SingleBitPerPixel;
15 | e.Graphics.DrawString(this.Text,this.Font,SystemBrushes.WindowText,Point.Empty);
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/utility/fonts/FontConv/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Windows.Forms;
5 |
6 | namespace FontConv
7 | {
8 | static class Program
9 | {
10 | /*
11 | * The main entry point for the application.
12 | */
13 | [STAThread]
14 | static void Main()
15 | {
16 | Application.EnableVisualStyles();
17 | Application.SetCompatibleTextRenderingDefault(false);
18 | Application.Run(new FormMain());
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/utility/fonts/FontConv/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.237
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace FontConv.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/utility/fonts/FontConv/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/utility/fonts/FontConv/TargetDevice.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace FontConv {
3 |
4 | /*
5 | * Possible devices
6 | */
7 |
8 | public enum TargetDevice {
9 | STM32PLUS,
10 | ARDUINO
11 | };
12 | }
13 |
--------------------------------------------------------------------------------
/utility/fonts/FontConv/Util.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Windows.Forms;
3 |
4 |
5 | namespace FontConv
6 | {
7 | class Util
8 | {
9 | static public void Error(Exception ex_)
10 | {
11 | MessageBox.Show(ex_.Message,"Error",MessageBoxButtons.OK,MessageBoxIcon.Error);
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/utility/fonts/FontConv/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/fonts/FontConv/logo.png
--------------------------------------------------------------------------------
/utility/fonts/LzgFontConv/ColourPanel.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * This file is shared between the open source stm32plus and
3 | * Arduino XMEM graphics libraries.
4 | *
5 | * Copyright (c) 2011,2012 Andy Brown
6 | * Please see website for licensing terms.
7 | */
8 |
9 | using System.Drawing;
10 | using System.Windows.Forms;
11 |
12 |
13 | namespace LzgFontConv {
14 |
15 | ///
16 | /// Colour display panel
17 | ///
18 |
19 | class ColourPanel : Panel {
20 |
21 | ///
22 | /// properties
23 | ///
24 |
25 | public Color Value { get; set; }
26 |
27 | ///
28 | /// Constructor
29 | ///
30 |
31 | public ColourPanel() {
32 | this.Value=Color.Black;
33 | }
34 |
35 | ///
36 | /// paint the background
37 | ///
38 |
39 | protected override void OnPaintBackground(PaintEventArgs e) {
40 |
41 | using(SolidBrush brush=new SolidBrush(this.Value))
42 | e.Graphics.FillRectangle(brush,this.ClientRectangle);
43 | }
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/utility/fonts/LzgFontConv/FontFilenames.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * This file is shared between the open source stm32plus and
3 | * Arduino XMEM graphics libraries.
4 | *
5 | * Copyright (c) 2011,2012 Andy Brown
6 | * Please see website for licensing terms.
7 | */
8 |
9 | using System.IO;
10 | using System.Windows.Forms;
11 |
12 | namespace LzgFontConv {
13 |
14 | ///
15 | /// wrapper for the 3 filenames we need
16 | ///
17 |
18 | public class FontFilenames {
19 |
20 | public string Header { get; set; }
21 | public string Source { get; set; }
22 | public string Definition { get; set; }
23 |
24 |
25 | ///
26 | /// Use the system dialog to get the font filenames
27 | ///
28 |
29 | public DialogResult GetFilenames() {
30 |
31 | SaveFileDialog sfd;
32 |
33 | sfd=new SaveFileDialog();
34 | sfd.Filter="Saved Fonts (*.xml)|*.xml|All Files (*.*)|*.*||";
35 |
36 | // show the dialog
37 |
38 | if(sfd.ShowDialog()==DialogResult.Cancel)
39 | return DialogResult.Cancel;
40 |
41 | // get teh XML definition name and calculate the others
42 |
43 | this.Definition=sfd.FileName;
44 | this.Header=Path.Combine(Path.GetDirectoryName(sfd.FileName),Path.GetFileNameWithoutExtension(sfd.FileName)+".h");
45 | this.Source=Path.Combine(Path.GetDirectoryName(sfd.FileName),Path.GetFileNameWithoutExtension(sfd.FileName)+".cpp");
46 |
47 | return DialogResult.OK;
48 | }
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/utility/fonts/LzgFontConv/FormProgress.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * This file is shared between the open source stm32plus and
3 | * Arduino XMEM graphics libraries.
4 | *
5 | * Copyright (c) 2011,2012 Andy Brown
6 | * Please see website for licensing terms.
7 | */
8 |
9 | using System;
10 | using System.Collections.Generic;
11 | using System.ComponentModel;
12 | using System.Data;
13 | using System.Drawing;
14 | using System.Linq;
15 | using System.Text;
16 | using System.Threading.Tasks;
17 | using System.Windows.Forms;
18 |
19 | namespace LzgFontConv {
20 | public partial class FormProgress : Form {
21 | public FormProgress() {
22 | InitializeComponent();
23 | }
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/utility/fonts/LzgFontConv/LzgFontConv.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LzgFontConv", "LzgFontConv.csproj", "{9659A26F-105A-42AF-83A9-216AC8ADF8E0}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {9659A26F-105A-42AF-83A9-216AC8ADF8E0}.Debug|x86.ActiveCfg = Debug|x86
13 | {9659A26F-105A-42AF-83A9-216AC8ADF8E0}.Debug|x86.Build.0 = Debug|x86
14 | {9659A26F-105A-42AF-83A9-216AC8ADF8E0}.Release|x86.ActiveCfg = Release|x86
15 | {9659A26F-105A-42AF-83A9-216AC8ADF8E0}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/utility/fonts/LzgFontConv/Program.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * This file is shared between the open source stm32plus and
3 | * Arduino XMEM graphics libraries.
4 | *
5 | * Copyright (c) 2011,2012 Andy Brown
6 | * Please see website for licensing terms.
7 | */
8 |
9 | using System;
10 | using System.Windows.Forms;
11 |
12 | namespace LzgFontConv
13 | {
14 | static class Program
15 | {
16 | ///
17 | /// The main entry point for the application.
18 | ///
19 | [STAThread]
20 | static void Main()
21 | {
22 | Application.EnableVisualStyles();
23 | Application.SetCompatibleTextRenderingDefault(false);
24 | Application.Run(new FormMain());
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/utility/fonts/LzgFontConv/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.17929
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace LzgFontConv.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/utility/fonts/LzgFontConv/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/utility/fonts/LzgFontConv/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/utility/fonts/LzgFontConv/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/fonts/LzgFontConv/logo.png
--------------------------------------------------------------------------------
/utility/fonts/Nintendo-DS-BIOS.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/fonts/Nintendo-DS-BIOS.ttf
--------------------------------------------------------------------------------
/utility/fonts/PIXELADE.TTF:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/fonts/PIXELADE.TTF
--------------------------------------------------------------------------------
/utility/fonts/Perfect DOS VGA 437 Win.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/fonts/Perfect DOS VGA 437 Win.ttf
--------------------------------------------------------------------------------
/utility/fonts/ProggyClean.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/fonts/ProggyClean.ttf
--------------------------------------------------------------------------------
/utility/fonts/VolterGoldfish_9/Volter__28Goldfish_29.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/fonts/VolterGoldfish_9/Volter__28Goldfish_29.ttf
--------------------------------------------------------------------------------
/utility/fonts/apple/Apple.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/fonts/apple/Apple.ttf
--------------------------------------------------------------------------------
/utility/fonts/kyrou_9/Kyrou 9 Regular Bold Xtnd.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/fonts/kyrou_9/Kyrou 9 Regular Bold Xtnd.ttf
--------------------------------------------------------------------------------
/utility/fonts/kyrou_9/Kyrou 9 Regular Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/fonts/kyrou_9/Kyrou 9 Regular Bold.ttf
--------------------------------------------------------------------------------
/utility/fonts/kyrou_9/Kyrou 9 Regular Xtnd.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/fonts/kyrou_9/Kyrou 9 Regular Xtnd.ttf
--------------------------------------------------------------------------------
/utility/fonts/kyrou_9/Kyrou 9 Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/fonts/kyrou_9/Kyrou 9 Regular.ttf
--------------------------------------------------------------------------------
/utility/fonts/tama_ss01.TTF:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andysworkshop/xmemtft/760c55d41c0a19bf26760616368215a288ae309b/utility/fonts/tama_ss01.TTF
--------------------------------------------------------------------------------