1.1 --- a/Display_Controller.c Sun May 19 22:06:40 2013 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,40 +0,0 @@
1.4 -// Copyright 2013 Pervasive Displays, Inc.
1.5 -//
1.6 -// Licensed under the Apache License, Version 2.0 (the "License");
1.7 -// you may not use this file except in compliance with the License.
1.8 -// You may obtain a copy of the License at:
1.9 -//
1.10 -// http://www.apache.org/licenses/LICENSE-2.0
1.11 -//
1.12 -// Unless required by applicable law or agreed to in writing,
1.13 -// software distributed under the License is distributed on an
1.14 -// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
1.15 -// express or implied. See the License for the specific language
1.16 -// governing permissions and limitations under the License.
1.17 -
1.18 -/******************************************************************************
1.19 - * Includes
1.20 - *****************************************************************************/
1.21 -//#include "driver_config.h"
1.22 -//#include "type.h"
1.23 -//#include "gpio.h"
1.24 -#include "Display_Controller.h"
1.25 -
1.26 -/******************************************************************************
1.27 - * Global Functions
1.28 - *****************************************************************************/
1.29 -
1.30 -void epd_DisplayImg(EPDType_t EPDType, uint8_t *pNewImg, uint8_t *pPrevImg)
1.31 -{
1.32 - //always initialize display (has been powered off before)
1.33 - epd_HwInit();
1.34 - epd_PowerOn();
1.35 - epd_InitializeDriver(EPDType);
1.36 -
1.37 - //display new picture, but first remove old one
1.38 - epd_Display(pNewImg, pPrevImg);
1.39 -
1.40 - //power down display - picture still displayed
1.41 - epd_PowerOff();
1.42 -}
1.43 -