GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - nerdyscout/Arduino_MCP3x6x_Library: Library to support Microchip MPC3x6x 16/24bit analog to digital converters.

BranchesTags
Open more actions menu

Latest commit

 

History

234 Commits
234 Commits

Folders and files

NameName
Last commit message
Last commit date
.devcontainer/platformio
.devcontainer/platformio
 
 
.github/workflows
.github/workflows
 
 
.opencode
.opencode
 
 
LICENSES
LICENSES
 
 
examples
examples
 
 
openspec
openspec
 
 
pcb
pcb
 
 
src
src
 
 
test
test
 
 
.clang-format
.clang-format
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
Doxyfile
Doxyfile
 
 
README.md
README.md
 
 
REUSE.toml
REUSE.toml
 
 
keywords.txt
keywords.txt
 
 
library.json
library.json
 
 
library.properties
library.properties
 
 
platformio.ini
platformio.ini
 
 

Repository files navigation

Arduino MCP3x6x Library

Arduino library for Microchip MCP346xR / MCP356xR 16/24-bit SAR analog-to-digital converters over SPI.

Supported devices

  • MCP3461R / MCP3462R / MCP3464R (16-bit)
  • MCP3561R / MCP3562R / MCP3564R (24-bit)

Getting Started

Install PlatformIO

Install PlatformIO, then clone the library:

git clone https://github.com/nerdyscout/Arduino_MCP3x6x_Library.git
cd Arduino_MCP3x6x_Library

Build examples

Build all examples for all environments:

./examples/build.sh

Build specific environments:

./examples/build.sh ESP32 ATMEGA328P SAMD21G18A

Build only one example:

./examples/build.sh MCP3564_DMA

Upload a single example to your board:

./examples/upload.sh MCP3564_DMA ATMEGA328P

Run tests

Run the native unit tests (ArduinoFake + Unity, no hardware required):

pio test -e native

Hardware testing

Build and upload the hardware smoke test to a physical board:

pio test -e ATMEGA328P

Run hardware-in-the-loop SPI communication verification:

pio run -t test_hil_spi -e ATMEGA328P

Documentation

  • pcb/README.md — PCB fabrication (KiBot)
  • examples/README.md — Examples build and upload
  • test/README.md — Native, hardware, and HIL testing
  • docs/ — Doxygen API reference (doxygen Doxyfile)

Contributing

See pcb/README.md, examples/README.md, and test/README.md for domain-specific guides. Submit changes via pull request against develop.

About

Library to support Microchip MPC3x6x 16/24bit analog to digital converters.

nerdyscout.github.io/Arduino_MCP3x6x_Library

Topics

16bit24bitadcanalogarduinoconverterdigitallibrarymcp3461mcp3462mcp3464mcp3561mcp3562mcp3564

Resources

Readme
Activity

Stars

20 stars

Watchers

1 watching

Forks

16 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.