hardbyte / hardbyte/python-can
Assigning Can Filters for mcp2515 CAN bus module on python
- Lingua principale
- Python
- Stelle
- 1.6k
- Fork
- 697
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
so I am using the following method to filter messages between 2 controllers,but the issue with this method is that I can only filter up to 5
can_ids, so I was wondering if there is a better method to do that, knowing I am quite new to this and to python even.
bus.set_filters([{"can_id": 0x591, "can_mask": 0xFFFFFFF, "extended": False},\
{"can_id": 0x592"can_mask": 0xFFFFFFF, "extended": False},\
{"can_id": 0x593, "can_mask": 0xFFFFFFF, "extended": False},\
{"can_id": 0x594, "can_mask": 0xFFFFFFF, "extended": False},\
{"can_id": 0x595, "can_mask": 0xFFFFFFF, "extended": False}])
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.