highlight code in python
parent
4258d118a9
commit
9f887b7523
|
@ -47,7 +47,8 @@ If "`carFw = [`" is empty, please check your harness's CAT5 connection to the co
|
|||
|
||||
In your `values.py` file, add the firmware in this format. Use a [decimal to hex converter](https://www.rapidtables.com/convert/number/decimal-to-hex.html) to get the correct string to place after 0x.
|
||||
|
||||
```CAR.MODEL: {
|
||||
```python
|
||||
CAR.MODEL: {
|
||||
(Ecu.type, 0xAddress-converted-to-hex, 0xSub-address-converted-to-hex-'None'-if-0): [
|
||||
b'fwVersion',
|
||||
b'existingFirmware',
|
||||
|
@ -56,7 +57,8 @@ In your `values.py` file, add the firmware in this format. Use a [decimal to hex
|
|||
```
|
||||
Here is a filled out example for the Honda Civic. Notice the eps firmware from above is already in this list.
|
||||
|
||||
```CAR.CIVIC: {
|
||||
```python
|
||||
CAR.CIVIC: {
|
||||
(Ecu.eps, 0x18da30f1, None): [
|
||||
b'39990-TBA,A030\x00\x00',
|
||||
b'39990-TBA-A030\x00\x00',
|
||||
|
|
Loading…
Reference in New Issue