hardbyte / hardbyte/python-can

Assigning Can Filters for mcp2515 CAN bus module on python

Đang mở
#1,190 6 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
1.6k
Fork
697
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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}])

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.