Jura-Python-BT
Code for control and payment system of Jura Coffee Machine
|
Namespaces | |
namespace | Read |
Functions | |
def | Read.lcd_init () |
def | Read.lcd_byte (bits, mode) |
def | Read.lcd_toggle_enable (bits) |
def | Read.lcd_string (message, line) |
def | Read.end_read (signal, frame) |
Variables | |
int | Read.I2C_ADDR = 0x27 |
int | Read.LCD_WIDTH = 16 |
int | Read.LCD_CHR = 1 |
int | Read.LCD_CMD = 0 |
int | Read.LCD_LINE_1 = 0x80 |
int | Read.LCD_LINE_2 = 0xC0 |
int | Read.LCD_LINE_3 = 0x94 |
int | Read.LCD_LINE_4 = 0xD4 |
int | Read.LCD_BACKLIGHT = 0x08 |
int | Read.ENABLE = 0b00000100 |
float | Read.E_PULSE = 0.0005 |
float | Read.E_DELAY = 0.0005 |
smbus | Read.bus = smbus.SMBus(1) |
bool | Read.continue_reading = True |
MFRC522 | Read.MIFAREReader = MFRC522.MFRC522() |
Read.status | |
Read.TagType | |
Read.uid | |
str | Read.uid_str = str(uid[0]).zfill(3) + str(uid[1]).zfill(3) + str(uid[2]).zfill(3) + str(uid[3]).zfill(3) |
int | Read.eur = 10 |
int | Read.cent = 75 |
str | Read.betrag = str(eur) + "," + str(cent).zfill(2) |