Skip to content

gherlein/pico-lib3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lib3 - C/C++ Library for Raspberry Pi Pico

This is an extension of the excellent pico-lib2 library. This library is meant to be a submodule under another project, not installed as a separate library and pulled in dynamically.

THIS IS A WORK IN PROGRESS. Unless you want to play along, you really should go use the excellent pico2 library.

Why?

I love the structure and functionality of Lib2 but it's been 3 years since it was actively developed. I also wanted to make the Pico W board the default, and extend the library as a common core for my own projects.

Description:

Lib3 library implements wrapper functions and device driver for Raspberry Pi Pico.
With lib3 it is more easy to write C/C++applications for Pico.

See Getting Started with the Raspberry Pi Pico for information on getting up and running.

Example and Template

A basic example is available to use lib3 here.

Functions and Device Driver:

System:

GPIO Functions
I2C Functions
SPI Functions
ADC Functions
Time Functions
System Functions
Utility Functions

Device Driver:

HD44780 LCD Driver with PCF8574
ADS1115 Four Channel 16-bit ADC
ADS1015 Four Channel 12-bit ADC
MCP4728 Four Channel 12-bit DAC
MCP4725 One Channel 12-bit DAC
DS3231 Accurate Real-Time-Clock

About

Fork and extension of https://github.com/iiot2k/pico-lib2 - hence the new name

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published