File: const.py

package info (click to toggle)
luma.led-matrix 1.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, trixie
  • size: 7,580 kB
  • sloc: python: 1,616; makefile: 157
file content (13 lines) | stat: -rw-r--r-- 276 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
# -*- coding: utf-8 -*-
# Copyright (c) 2013-18 Richard Hull and contributors
# See LICENSE.rst for details.


class max7219(object):
    NOOP = 0x00
    DIGIT_0 = 0x01
    DECODEMODE = 0x09
    INTENSITY = 0x0A
    SCANLIMIT = 0x0B
    SHUTDOWN = 0x0C
    DISPLAYTEST = 0x0F