Seleccionar pines para SPI en Stamp C3
-
Como acceder a los pines del SPI hardware en Stamp C3. He visto que se pueden asignar asi con el MUX_IO pero no consigo que funcione con un TFT ST7789.
#define TFT_MOSI GPIO_NUM_7
#define TFT_SCLK GPIO_NUM_6
#define TFT_CS GPIO_NUM_5
#define TFT_DC GPIO_NUM_4
#define TFT_RST GPIO_NUM_0Con las librerias especificas no consigo saber como asignar correctamente los pines accesibles en el SOC:
#include <Adafruit_GFX.h>
#include "Adafruit_ST7789.h" // Hardware-specific library for ST7789
#include <SPI.h> // Arduino SPI libraryAlguien ha probado la reasignación de pines con el MUX_IO ?? Como puedo hacer que funcione por hardwarw porque va muy lento por software 600Khz máx. Gracias.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login