So habe jetzt das problem das ich das display beim programmieren das display nicht aktivieren kann inder lib datei ist es freigegeben und trotzdem gibt es fehler beim konverteiren das ich das display kennlich machen soll. kennt da einer eine lösung.
/*
dogm128.h
(c) 2010 Oliver Kraus (
olikraus@gmail.com)
This file is part of the dogm128 library.
The dogm128 library is free software: you can redistribute it and/or modify
it under the terms of the Lesser GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
The dogm128 library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Lesser GNU General Public License for more details.
You should have received a copy of the Lesser GNU General Public License
along with dogm128. If not, see <http://www.gnu.org/licenses/>.
Controller SPI Interface Selection
DOG_SPI_USI Universal Serial Interface of ATTINY controller
DOG_SPI_ATMEGA ATMEGA SPI Interface
DOG_SPI_ARDUINO SPI Interface for ATMEGA within Arduino Environment
nothing defined defaults to DOG_SPI_ARDUINO
Normal or Revers Display Mode
DOG_REVERSE Display output rotated by 180 degree
nothing defined No rotation of the output
Memory Usage
DOG_DOUBLE_MEMORY Double size of the internal page memory. Will give some speed improvement
nothing defined Minimal memory usage
Display Selection
one of the following constants could be defined:
DOGM128_HW DOGM128 Display
DOGS102_HW DOGS102 Display
DOGM132_HW DOGM132 Display
DOGXL60_HW DOGXL160 Display
ADA_ST7565P_HW Adafruit Graphics LCD based on the ST7565P
nothing defined error message
*/
#ifndef _DOGM128_H
#define _DOGM128_H
/*=========================================================================*/
/* Begin: User Configuration */
/*=========================================================================*/
//#define DOG_REVERSE /* uncomment for 180 degree rotation */
#define DOG_DOUBLE_MEMORY /* uncomment for speed improvement */
//#define DOGM128_HW /* uncomment for the DOGM128 display */
//#define DOGS102_HW /* uncomment for the DOGS102 display */
//#define DOGM132_HW /* uncomment for the DOGM132 display */
#define DOGXL160_HW_BW /* uncomment for the DOGXL160 display, black & white mode */
#define DOGXL160_HW_GR /* uncomment for the DOGXL160 display gray level mode */
//#define ADA_ST7565P_HW /* uncomment for the Adafruit ST7565P display. */
/* Note: if you are using a wiring scheme different from
http://www.ladyada.net/learn/lcd/st7565.html then you will need to change the pin number accordingly
(lower in this same file, look for PIN_RST)
*/
#define ES13BB0_HW /* uncomment for ES13BB0 128x64 display */
/*=========================================================================*/
/* End: User Configuration */
/*=========================================================================*/
#if !defined ADA_ST7565P_HW && !defined DOGM128_HW && !defined DOGM132_HW && !defined DOGS102_HW && !defined DOGXL160_HW_BW && !defined DOGXL160_HW_GR
* print error message, please uncomment one of the displays above */
#error LCD model is not defined. Define your LCD in dogm128.h.
#endif
// prevent duplicate definition
//#if defined DOGM128_HW
//#if defined DOGM132_HW
//#undef DOGM132_HW
//#endif
//#if defined DOGM128_W
//#undef DOGM128_W
//#endif
//#endif
//#if defined DOGM132_HW && defined DOGS102_HW
//#undef DOGS102_HW
//#endif
#include "dogmpgm.h"
#include "dogmfont.h"
/* Arduino Pin assignments have been moved to dogmspi.c */
.......
Gruß