// Slideshow $images = ['img1.jpg', 'img2.jpg', 'img3.jpg']; $display->displaySlideshow($images, 10);
case 'display/text': if ($method === 'POST') $data = json_decode(file_get_contents('php://input'), true); $display->displayText($data['text'], $data['font_size'] ?? 24); echo json_encode(['success' => true]); break; case 'info': echo json_encode($display->getInfo()); break; epaper php script
public function __construct($width = 800, $height = 480, $colorMode = self::COLOR_BW) $this->width = $width; $this->height = $height; $this->colorMode = $colorMode; $this->rotation = 0; $this->devicePath = '/dev/fb0'; // Framebuffer device // Slideshow $images = ['img1