-
1Connections
## Prerequisites
NodeMCU 1.0
TFT Display
Aduino IDE##Librarys
OSC // https://github.com/CNMAT/OSC
SparkFunLSM6DS3 // https://github.com/sparkfun/SparkFun_LSM6DS3_Arduino_Library/blob/master/src/SparkFunLSM6DS3.h
Bounce2 // https://github.com/thomasfredericks/Bounce2
SimpleKalman // https://github.com/denyssene/SimpleKalmanFilter### Installing
Edit the tft_esp library file ( User_Setup.h in Arduino Librarys Folder ) for your Diplay.
Select Driver
```
// Only define one driver, the other ones must be commented out
//#define ILI9341_DRIVER
#define ST7735_DRIVER // Define additional parameters below for this display
//#define ILI9163_DRIVER
//#define S6D02A1_DRIVER
...
```Select Pins
```
// For NodeMCU - use pin numbers in the form PIN_Dx where Dx is the NodeMCU pin designation
#define TFT_CS 2 // Chip select control pin D8
#define TFT_DC 23 // Data Command control pin
...
```### Connect the Gyroscope :
Wire.begin(32,33); /* join i2c bus with SDA=D32 and SCL=33 of NodeMCU */
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.