ljq29
ljq29
大哥,TEXMFLOCAL文件夹在哪里啊?找不到……
Hi folks, I'm encountering an issue while trying to create a DBC file for CAN FD from scratch, without using `cantools.db.load_file(fn_in)`. I've managed to successfully generate a DBC file for...
Here's the complete code I'm working with: ```python db = cantools.database.can.Database( messages = messages, nodes = nodes, version='2.0' ) # make bus CAN FD bus_type_def = AttributeDefinition("BusType", type_name="STRING", default_value="") db.dbc.attribute_definitions["BusType"]...
> Apparently you need to do this: > > ``` > bus_type_def = AttributeDefinition("BusType", > type_name="STRING", > default_value="") > db.dbc.attribute_definitions["BusType"] = bus_type_def > db.dbc.attributes["BusType"] = Attribute(value="CAN FD", > definition=bus_type_def) >...
So, can it be repaired?
> @ljq29 you can use hex codes for this So, from where I can find the table of keycode 2 hex?
> > `KEYCODE_VOLUME_UP` and `KEYCODE_VOLUME_DOWN` > > On the keyboards I tried, these keys use a different endpoint and a different protocol than all the “regular” keys. They can thus...
> @ljq29: Yes, that is what I am talking about. I have a couple of keyboards that, in addition to all the regular keys, have these `VOLUME_UP` and `VOLUME_DOWN` keys....
> > 试了一下,显示解析此分p失败,以后还能免费下载充电专属视频吗? > > 到底是谁说的免费下载充电?给个来源链接 之前能免费下载充电视频吗?我没试过哎,如果可以还真不错