Balam
April 28, 2018, 9:10pm
1
I have a Skiwriter Hat ( for Pi) and been trying to use it with and Arduino need advice to make it work.
I am fallowing this pins
To Arduino sda/ scl and my transfer and my reset pin (2,3)
I can not make it work is there a missing pin or connection
Please advice
Could you post a photo of your wiring? And also the code you’re using.
Did you also connect the 3.3V and at least 1 ground?
Balam
April 30, 2018, 4:39pm
4
Thanks @gadgetoid @alphanumeric . I had discover the problem
I had the opposite side of the hat wiring - now I can see data data on serial monitor
My new question is . How can I get Touch, swipe etc data is there a sample file
I am using this file
#include <Adafruit_NeoPixel.h>
#include <Wire.h>
#define PIN 8
Adafruit_NeoPixel Neopixel = Adafruit_NeoPixel(64, PIN, NEO_GRB + NEO_KHZ800);
unsigned long brightness = 50;
unsigned char color = 0;
// Include string names of gestures/touches for testing
//#define SKYWRITER_INC_DEBUG_STRINGS
#include "skywriter.h"
unsigned int max_x, max_y, max_z;
unsigned int min_x, min_y, min_z;
void setup() {
Serial.begin(9600);
while(!Serial){};
This file has been truncated. show original