Click here to Skip to main content
15,886,873 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: From framebuffer to SPI via ioctl in Linux Pin
Vaclav_23-Apr-18 4:17
Vaclav_23-Apr-18 4:17 
GeneralRe: From framebuffer to SPI via ioctl in Linux Pin
Jochen Arndt23-Apr-18 4:24
professionalJochen Arndt23-Apr-18 4:24 
GeneralRe: From framebuffer to SPI via ioctl in Linux Pin
Vaclav_23-Apr-18 8:08
Vaclav_23-Apr-18 8:08 
GeneralRe: From framebuffer to SPI via ioctl in Linux Pin
Jochen Arndt23-Apr-18 10:28
professionalJochen Arndt23-Apr-18 10:28 
GeneralRe: From framebuffer to SPI via ioctl in Linux Pin
Vaclav_23-Apr-18 13:39
Vaclav_23-Apr-18 13:39 
GeneralRe: From framebuffer to SPI via ioctl in Linux Pin
Jochen Arndt23-Apr-18 21:21
professionalJochen Arndt23-Apr-18 21:21 
GeneralRe: From framebuffer to SPI via ioctl in Linux Pin
Vaclav_24-Apr-18 12:16
Vaclav_24-Apr-18 12:16 
GeneralRe: From framebuffer to SPI via ioctl in Linux Pin
Jochen Arndt24-Apr-18 21:07
professionalJochen Arndt24-Apr-18 21:07 
Think more general. Drivers provide a standardised interface for a specific kind of hardware. With Linux, drivers may be built into the kernel or provided as loadable modules.

In your case the standardised interface is the framebuffer and the name of the driver / module is fbtft. The driver will create the (virtual) /dev/fbx framebuffer device. So you don't have to care about the physical used interface and how to access that. It is done by the driver. Because the fbtft driver supports multiple kinds of SPI connected displays, you have to pass the name of your display and optional parameters like rotation and SPI bus speed. These can be found in the driver documentation and the documentation provided by the display manufacturer.
GeneralRe: From framebuffer to SPI via ioctl in Linux Pin
Vaclav_25-Apr-18 3:36
Vaclav_25-Apr-18 3:36 
GeneralRe: From framebuffer to SPI via ioctl in Linux Pin
Jochen Arndt25-Apr-18 4:20
professionalJochen Arndt25-Apr-18 4:20 
GeneralRe: From framebuffer to SPI via ioctl in Linux Pin
Vaclav_25-Apr-18 9:11
Vaclav_25-Apr-18 9:11 
GeneralRe: From framebuffer to SPI via ioctl in Linux Pin
Vaclav_25-Apr-18 9:11
Vaclav_25-Apr-18 9:11 
AnswerRe: From framebuffer to SPI via ioctl in Linux Pin
Vaclav_23-Apr-18 5:21
Vaclav_23-Apr-18 5:21 
Questionerror: expected unqualified-id before numeric constant Pin
Vaclav_22-Apr-18 16:49
Vaclav_22-Apr-18 16:49 
AnswerRe: error: expected unqualified-id before numeric constant Pin
Richard MacCutchan22-Apr-18 22:20
mveRichard MacCutchan22-Apr-18 22:20 
AnswerRe: error: expected unqualified-id before numeric constant Pin
Jochen Arndt22-Apr-18 22:58
professionalJochen Arndt22-Apr-18 22:58 
AnswerRe: error: expected unqualified-id before numeric constant Pin
Vaclav_23-Apr-18 3:04
Vaclav_23-Apr-18 3:04 
AnswerRe: error: expected unqualified-id before numeric constant Pin
Vaclav_23-Apr-18 4:57
Vaclav_23-Apr-18 4:57 
GeneralRe: error: expected unqualified-id before numeric constant Pin
Richard MacCutchan23-Apr-18 6:42
mveRichard MacCutchan23-Apr-18 6:42 
GeneralRe: error: expected unqualified-id before numeric constant Pin
Vaclav_23-Apr-18 8:11
Vaclav_23-Apr-18 8:11 
GeneralRe: error: expected unqualified-id before numeric constant Pin
Vaclav_23-Apr-18 13:36
Vaclav_23-Apr-18 13:36 
GeneralRe: error: expected unqualified-id before numeric constant Pin
Richard MacCutchan23-Apr-18 21:05
mveRichard MacCutchan23-Apr-18 21:05 
GeneralRe: error: expected unqualified-id before numeric constant Pin
Vaclav_25-Apr-18 3:42
Vaclav_25-Apr-18 3:42 
GeneralRe: error: expected unqualified-id before numeric constant Pin
Richard MacCutchan25-Apr-18 4:59
mveRichard MacCutchan25-Apr-18 4:59 
QuestionObtaining a COM pointer in a C # ActiveX control inside an MFC ActiveX control Pin
SoulToMind20-Apr-18 20:48
SoulToMind20-Apr-18 20:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.