Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

"""Configuration for PyDGILibExtra.""" 

 

from pydgilib.dgilib_config import ( 

INTERFACE_SPI, INTERFACE_USART, INTERFACE_I2C, INTERFACE_GPIO) 

 

# Logger types 

LOGGER_CSV = 0 

LOGGER_OBJECT = 1 

LOGGER_PLOT = 2 

 

INTERFACE_POWER = 0x100 # 256 

 

NUM_PINS = 4 

 

FILE_NAME_BASE = "log" 

 

INTERFACES = { 

"spi": INTERFACE_SPI, 

"usart": INTERFACE_USART, 

"i2c": INTERFACE_I2C, 

"gpio": INTERFACE_GPIO, 

"power": INTERFACE_POWER} 

 

POLLING = 0 

POWER = 1