Skip to content

Instantly share code, notes, and snippets.

View markwbrown's full-sized avatar

Mark Brown markwbrown

View GitHub Profile
@carlosefr
carlosefr / RPi2c.ino
Last active December 4, 2020 18:18
Raspberry Pi to Arduino communication using I2C and interrupts.
/*
* RPi2c - test i2c communication between an Arduino and a Raspberry Pi.
*
* Copyright (c) 2013 Carlos Rodrigues <[email protected]>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is