How to calculate a mask

This section attaches a python program that allows users to easily calculate their mask in standard or extended frame format by simply entering the CAN Ids as a vector. In addition, this program also converts each Id entered into binary.

download maskCalculator.py

An example of the execution of this program is shown below:


Example of maskCalculator program