@@ -36,10 +36,10 @@ pub const Backlight = struct {
var goal: [0x20]u8 = undefined;
var out: []u8 = undefined;
if (clk.button == 4) {
self.current = @min(255, @max(self.current + 20, 1));
self.current = @min(255, @max(self.current +| 4, 1));
out = try std.fmt.bufPrint(&goal, "{}", .{self.current});
} else if (clk.button == 5) {
self.current = @min(255, @max(self.current - 20, 1));
self.current = @min(255, @max(self.current -| 4, 1));
out = try std.fmt.bufPrint(&goal, "{}", .{self.current});
} else return;
var file = try std.fs.openFileAbsolute(