Skip to content

Wio package to provided access to AVR registers over I2C

License

Notifications You must be signed in to change notification settings

waterloop/cosa-i2c-register

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cosa I2C Registers

This is a wio package for Cosa that allows easy access to AVR registers over I2C bus. The package wraps all the system calls

Usage

Define a register using I2CRegister i2c_register{I2C_ADDRESS}. Provide the register with I2C address.

Wriite data using:

i2c_register.write16(REGISTER_ADDRESS, DATA);

Read data using:

i2c_register.read16(REGISTER_ADDRESS);

Install

wio install cosa-i2c-register

About

Wio package to provided access to AVR registers over I2C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published