Skip to content

Instantly share code, notes, and snippets.

Ankit Daftery ankitdaf

Block or report user

Report or block ankitdaf

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View i2c_snoop.ino
/*
* Blog post describing the use case for this script is here :
* http://blog.ankitdaf.com/snooping-on-i2c-making-an-oled-display-work/
*
*/
#include <Wire.h>
int buff[1024];
@ankitdaf
ankitdaf / BB-ADS7846-00A0.dts
Created Jun 1, 2015
Adding XPT2046 ( ADS7846 ) Touchscreen Support to Beaglebone Black Kernel version 4.1.0-rc5-bone3
View BB-ADS7846-00A0.dts
/dts-v1/;
/plugin/;
#include <dt-bindings/board/am335x-bbw-bbb-base.h>
#include <dt-bindings/pinctrl/am33xx.h>
/ {
compatible = "ti,beaglebone", "ti,beaglebone-black";
/* identification */
You can’t perform that action at this time.