EdgePi-Cloud / edgepi-python-sdk

Python SDK to control EdgePi, an industrial PC/PLC/IoT device powered by Raspberry Pi CM4
MIT License
6 stars 3 forks source link

Dev eeprom #350 #357

Closed sjpark608 closed 1 year ago

sjpark608 commented 1 year ago

Closes #350

files of interest: eeprom_adc_module.py eeprom_dac_module.py edgepi_eerpom.py

I think set_edgepi_dataclass() method is redundant since you can directly modify the dataclass and write it. It feels like the new method introduces an extra step.

github-actions[bot] commented 1 year ago

Code Coverage

Package Line Rate Branch Rate Health
adc 92% 89%
calibration 100% 100%
dac 100% 97%
digital_input 100% 100%
digital_output 98% 95%
eeprom 88% 64%
eeprom.protobuf_assets.eeprom_data_classes 100% 53%
eeprom.protobuf_assets.generated_pb2 79% 50%
gpio 98% 94%
led 0% 0%
peripherals 87% 50%
pwm 99% 98%
reg_helper 97% 85%
relay 100% 100%
tc 98% 98%
utilities 100% 100%
Summary 94% (3032 / 3232) 82% (638 / 775)