/* epaper - Simple epaper rendering Copyright (C) 2014 Danny Milosavljevic This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program 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 GNU General Public License (in "COPYING") for more details. If you have not received a copy of the GNU General Public License along with this program, see . */ Usage: make ./a.out (have to have permissions to access "/dev/fb" which is supposed to be the current framebuffer)