|
Post by rndmnkiii on Dec 22, 2016 3:53:52 GMT -8
Hello. The GD2 library seems to include support to compile in raspberry pi linux C++ environment with spidev. GD2.cpp:
#ifdef RASPBERRY_PI #include <stdio.h> #include <fcntl.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <stdint.h>
#include <sys/ioctl.h> #include <linux/types.h> #include <linux/spi/spidev.h>
#include "transports/spidev.h" #endif
This is a proof of concept or the GD2 is really prepared for the RPi?
There is any reason for I don't find documented this feature? Can be greatly useful for GD2 users to expand their possibilities!
Regards!
|
|