Skip to content

Instantly share code, notes, and snippets.

@eresgit
eresgit / Send multiple floats from Arduino to Raspberry through I2C
Last active August 29, 2015 14:27 — forked from gileri/ Send multiple floats from Arduino to Raspberry through I2C
Sending float from arduino to raspberry pi using Wire (arduino) and smbus (python) libraries
http://bradsrpi.blogspot.fr/2013/03/sending-data-from-arduino-to-raspberry.html
@eresgit
eresgit / RPi2c.ino
Last active August 29, 2015 14:27 — forked from carlosefr/RPi2c.ino
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