0

September 16, 2016 AT 10:00 am

From the Forums: Led 32×32 Kernel Module #piday #raspberrypi @Raspberry_Pi

NewImage

Thanks to Marc_Karasek from the Adafruit forums for sharing! Check out the repo here

I have created a kernel module to handle the GPIO interface for the LED 32×32 Panel.

This is based on the Src code from the Adafruit. I have some minor code cleanup todo but will then be pushing this to a repo on github.

Once that is done I will post the link to the repo here.

Kernel Module Supports:

  1. All GPIO Functions setbits(), clearbits(), etc.. via ioctl calls.
  2. Has a imalive function included. So at load time it will flash red/green/blue on the display to tell you it is alive and well.
  3. Supports (via sysfs) autocreation of the /dev/gpioleddriver device. Included in repo will be udev .rules file for setting up device for user access.
  4. user land application (led-matrix) has been modified to use the ioctl calls instead of GPIO. No more need for sudo šŸ™‚
  5. Kmod can be compiled to use either ioremap or sysfs for access to gpio registers. Both tested.

Read more here and here.


2358Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!


Check out all the Circuit Playground Episodes! Our new kid’s show and subscribe!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!


Maker Business — SoftBank Invests $300 Million in WeWork

Wearables — Impatience reward

Electronics — Cool your FETs!

Biohacking — NinjaPCR ā€“ Open Source #iot DNA Amplifier

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.