Skip to content

Latest commit

 

History

History
43 lines (37 loc) · 2.64 KB

README.md

File metadata and controls

43 lines (37 loc) · 2.64 KB

Alternative Logos

Here's a list of logos that other people have created for their version.

It's easy enough to create your own logo:

  1. Open your prefered image editor and create a new image no more than 64 pixels wide and 29 pixels high, sticking to black and white (unless you used a colour display for this project).
  2. Create your logo.
  3. Save it as a bitmap (.bmp file).
  4. Go to https://javl.github.io/image2cpp/ and convert your image into plain bytes. A white pixel will be turned on and a black tuned off on the display so you may want to invert the image colours.
  5. You can now load the logo into the Arduino sketch to check how it looks:
    1. Search the sketch for the line "// Defines and bitmap data for the logo".
    2. Copy-Paste your plain bytes from the conversion site into the value of the logoBmp variable.
    3. Make sure that LOGO_HEIGHT and LOGO_WIDTH are set correctly.
    4. Upload and run the sketch.
  6. If you're happy then please share the bitmap and sketch lines as below for others to enjoy and use.

A speedometer and end of a DMU combined - The Provided Logo

#define LOGO_HEIGHT 29
#define LOGO_WIDTH  64
const PROGMEM unsigned char logoBmp[] = {
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  0x00, 0x3f, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe4, 0xff, 0xff, 0xff, 0xff, 0xc0, 0x00, 
  0x03, 0x04, 0x1f, 0xff, 0xff, 0xff, 0xf0, 0x00, 0x06, 0x04, 0x0f, 0xff, 0xff, 0xff, 0xfc, 0x00, 
  0x0c, 0x00, 0x07, 0xff, 0xff, 0xff, 0xff, 0x00, 0x1a, 0x00, 0x0b, 0x30, 0x06, 0x00, 0x63, 0x80, 
  0x11, 0x00, 0x11, 0x30, 0x06, 0x00, 0x61, 0xc0, 0x20, 0x00, 0x00, 0xb0, 0x06, 0x00, 0x60, 0xe0, 
  0x20, 0x00, 0x40, 0xb0, 0x06, 0x00, 0x60, 0x70, 0x60, 0x00, 0x80, 0xf0, 0x06, 0x00, 0x60, 0x38, 
  0x40, 0x01, 0x00, 0x70, 0x06, 0x00, 0x60, 0x1c, 0x40, 0x02, 0x00, 0x70, 0x06, 0x00, 0x60, 0x0e, 
  0x78, 0x04, 0x03, 0xf0, 0x06, 0x00, 0x60, 0x0f, 0x40, 0x00, 0x00, 0x7f, 0xff, 0xff, 0xff, 0xff, 
  0x40, 0x00, 0x00, 0x7f, 0xff, 0xff, 0xff, 0xff, 0x60, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xfe, 
  0x20, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x20, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xf8, 
  0x11, 0x00, 0x11, 0xff, 0xff, 0xff, 0xff, 0xf0, 0x1a, 0x00, 0x0b, 0xff, 0xff, 0xff, 0xff, 0xf0, 
  0x0c, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x0c, 0x00, 0x00, 0x07, 0xff, 0x80, 
  0x03, 0x00, 0x18, 0x00, 0x00, 0x03, 0xcf, 0x00, 0x00, 0xe0, 0xe0, 0x00, 0x00, 0x01, 0x86, 0x00, 
  0x00, 0x3f, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};