<reponame>ljavanbeek/gps<gh_stars>0
from __future__ import print_function
from rpi_epd2in7.epd import EPD
from PIL import Image


def main():
    print("initializing...")
    epd = EPD()
    epd.init()
    print("initialized.")

    image = Image.new('1', (epd.width, epd.height), 255)
    epd.display_frame(image)
    epd.sleep()
    print("Done.")


if __name__ == '__main__':
    main()

from __future__ import print_function
from rpi_epd2in7.epd import EPD
from PIL import Image


def main():
    print("initializing...")
    epd = EPD()
    epd.init()
    print("initialized.")

    image = Image.new('1', (epd.width, epd.height), 255)
    epd.display_frame(image)
    epd.sleep()
    print("Done.")


if __name__ == '__main__':
    main()