Skip to content

andyjduncan/wokwi-mcp9808

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wokwi MCP9808

This is a Wokwi custom chip implementation for the MCP9808 temperature sensor. It is modelled after the Adafruit breakout board.

Installation

In a Wokwi project add a new custom chip. Copy the contents of mcp9808.chip.json into the custom chip’s json file, and mcp9808.chip.c in the c implementation file.

Use the library manager to add a suitable library to the project, e.g. the Adafruit MCP9808 Library library.

Wire the custom chip to the microcontroller. The chip needs VCC, GND, SCL and SDA connections.

arduino wiring
Figure 1. Example wiring for Arduino Mega

About

MCP9808 custom chip for Wokwi

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages