Skip to content

Instantly share code, notes, and snippets.

View davidclevenger's full-sized avatar
🦀
Oxidizing.

David Clevenger davidclevenger

🦀
Oxidizing.
  • Bloomberg LP
  • New York, NY
View GitHub Profile
@davidclevenger
davidclevenger / framebuffer.c
Created January 2, 2019 21:46 — forked from FredEckert/framebuffer.c
Paint Pixels to Screen via Linux FrameBuffer
/*
To test that the Linux framebuffer is set up correctly, and that the device permissions
are correct, use the program below which opens the frame buffer and draws a gradient-
filled red square:
retrieved from:
Testing the Linux Framebuffer for Qtopia Core (qt4-x11-4.2.2)
http://cep.xor.aps.anl.gov/software/qt4-x11-4.2.2/qtopiacore-testingframebuffer.html
*/