picofuse-objc

WaveshareEPaper97.h
Go to the documentation of this file.
1 
5 #pragma once
6 #include <Graphics/NXDisplay.h>
7 #include "NXDeviceManager.h"
8 
23 @interface WaveshareEPaper97 : NXDisplay <NXDisplayDevice> {
24 @private
25  void *_panel;
26  void *_spi;
27  void *_pins[2];
28 }
29 
36 + (WaveshareEPaper97 *)displayWithVCOM:(uint16_t)vcom;
37 
49 + (WaveshareEPaper97 *)displayWithVCOM:(uint16_t)vcom
50  rotation:(uint16_t)rotation
51  partial:(uint8_t)partial
52  fast:(BOOL)fast;
53 
57 - (id)initWithVCOM:(uint16_t)vcom
58  rotation:(uint16_t)rotation
59  partial:(uint8_t)partial
60  fast:(BOOL)fast;
61 
62 @end
Defines the NXDisplay class, what every display shares, and NXApplication&#39;s methods for attaching one...
Defines NXDeviceManager, which makes the devices a program&#39;s built for, as they&#39;re described in JSON...
bool BOOL
A Boolean value.
Definition: runtime.h:60
Waveshare&#39;s 9.7inch e-Paper HAT, on a Raspberry Pi: a 1200x825 e-paper display in sixteen grays...
A display, which the application redraws when it has changed, while it&#39;s attached with -[NXApplicatio...
Definition: NXDisplay.h:56
struct objc_object * id
A pointer to an instance of a class.
Definition: runtime.h:18