Moin an alle
Ich spiele gerade ein wening mit den DOG Display#s von Elktronik
Assembly
herum
Als Library habe ich von Jan Michel .
Besten Dank für die tolle Arbeit.
Ich möchte nun Bitmaps mit einfügen .
Erstallt habe ich mal eine " 2 " in sieben Segment
mit den Font and Bitmap Generator .
Wie füge ich und wo den Source ein??
Mit
lcd_draw_image_P(BITMAP,0x08,0x10,NORMAL);
sollte ich das Bitmap dann doch auf das Display bekommen.
Wenn jemand ein kleines Beispiel hätte wäre ich glücklich
Display Library
* for EA-DOGS102 GLCD (102px x 64px)
* EA-DOGL128 GLCD (128px x 64px)
* EA-DOGM128 GLCD (128px x 64px)
* EA-DOGM132 GLCD (132px x 32px)
//--------------------------------------------------------------
// Font and Bitmap Generator
//
// www.muGUI.de
//
// Version: 0.1.0.0
// Project Name: Test_BM
//--------------------------------------------------------------
// Generated by mugui2c.xsl, Copyright 07.11.2009
//--------------------------------------------------------------
//--------------------------------------------------------------
// Group Name: Groupname
// Designer: Designer
// Date: 02 Sep 2010
// Description: Description
// Byteorientation: verticalBottom
// Font Height: 16 Pixel
// Monospace font
// Font Width: 10 Pixel
// Number of Bitmaps: 1
// Bytes per Bitmap: 0
// Start Character: 0
// Stop Character: 0
//---------------------------------------------------------------
prog_uchar Groupname[] =
{
// Font Header
0x00, // 0x00: Monospace, 0x01: Proportional
0x03, // 0x00: horizontalLeft, 0x01: horizontalRight
// 0x02: verticalCeiling, 0x03: verticalBottom
0x0, // Startcharacter
0x1, // Number of Bitmaps
0x10, // Height
0xA, // Width
/* Character Data - Index: 0 */
0x00,0x00,0x00,0x00,0xFE,0x61,0xFE,0x61,0x86,0x61,0x86,0x61,0x86,0x7F,0x
86,0x7F,0x00,0x00,0x00,0x00
};
Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.