> For the complete documentation index, see [llms.txt](https://docs.macchina.cc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.macchina.cc/product-documentation/m2-docs/m2-code-libraries.md).

# M2 Code libraries

## **J1850 VPW**

{% embed url="<https://github.com/redheadedrod/j1850>" %}

J1850 VPW protocol for M2

## **M2\_12VIO**

{% embed url="<https://github.com/TDoust/M2_12VIO>" %}

Provides 6x12V output drivers with over current protection for the output drivers and 6x12V analogue input circuits, plus support for the DUE on chip temperature.

## **M2\_SD\_HSCMI**

{% embed url="<https://github.com/macchina/M2_SD_HSMCI>" %}

Gives access to HSMCI (High Speed MultiMedia Card Interface) on M2.

## **OBD9141**

{% embed url="<https://github.com/iwanders/OBD9141>" %}

A class to read an ISO 9141-2 port found in OBD-II ports.

## **due\_wire**

{% embed url="<https://github.com/collin80/due_wire>" %}

An alternative I2C library for Due with DMA support
