chipKIT® Development Platform

Inspired by Arduino™

SSD1306 OLED_I2C Fubarino SD / Uecide

Created Tue, 03 Nov 2015 08:57:11 +0000 by deladriere


deladriere

Tue, 03 Nov 2015 08:57:11 +0000

I am trying to have this library to work with my Fubarino SD : http://www.rinkydinkelectronics.com/library.php?id=80 It should work for chipKit & It work well on my Arduino I changed the HW_PIC32_defines.h to allow the use of the 32MX795F512H

#if !defined(_UP_MCU_)
	#if defined(__32MX320F128H__)
		#define SDA	18					// A4 (Remeber to set the jumper correctly)
		#define SCL	19					// A5 (Remeber to set the jumper correctly)
	#elif defined(__32MX340F512H__)
		#define SDA	18					// A4 (Remeber to set the jumper correctly)
		#define SCL	19					// A5 (Remeber to set the jumper correctly)
	#elif defined(__32MX795F512H__)
		#define SDA	1					// Digital 20
		#define SCL	2					// Digital 21

but I am not sure I have to use Pin 1 & 2

This is my first attempt to play with I2C on the Fubarino SD so I may be missing something

Any help would be most welcome ! Thx


deladriere

Tue, 03 Nov 2015 09:25:17 +0000

Works ! I tried another I2C example with #include <Wire.h> and Uecide detected I needed to install new libraries !