newaetech / ChipSHOUTER-python

Python API for ChipSHOUTER
MIT License
5 stars 6 forks source link

'ChipSHOUTER' object has no attribute 'update_firmware' #11

Closed itewqq closed 1 year ago

itewqq commented 1 year ago
In [6]: cs.update_firmware()
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Input In [6], in <cell line: 1>()
----> 1 cs.update_firmware()

AttributeError: 'ChipSHOUTER' object has no attribute 'update_firmware'

In [7]: cs.id
Out[7]: '72JD6M:2.0.1\n'

In [8]: cs
Out[8]: 
api_version         = 0.0.0
armed               = False
voltage = 
    set      = 500
    measured = 22
pulse = 
    width        = 160
    repeat       = 3
    deadtime     = 10
    actual width = 160
state               = disarmed
trigger_safe        = False
faults_current      = []
faults_latched      = []
temperature_mosfet  = 24
temperature_diode   = 23
temperature_xformer = 27
arm_timeout         = 2
hwtrig_term         = False
hwtrig_mode         = True
emode               = False
mute                = False
absent_temp         = 1
pat_enable          = False
pat_wave            = 
reset_config        = 0
reset               = False
board_id            = 72JD6M:2.0.1

boot_enable         = 0
itewqq commented 1 year ago

Just updated the chipshouter package with pip and it works now