Code Monkey home page Code Monkey logo

max72xx's People

Contributors

abaskin avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

transistor15

max72xx's Issues

Using it on Nano ESP32

I am currently trying to use this lib on nano ESP32 as it says its supporting ESP32.

As the specified ESP Pinout is not working on nano I tried using the SPI interface which is on the same pins as for the other boards like uno.

I used this as a test code:

`#include <Arduino.h>
#include <MAX72XX.h>

constexpr uint8_t latchPin = 7; // change to reflect your latchPin
constexpr uint8_t numDevices = 1; // the number of devices

// for hardware SPI
// create the object for the device chain
MAX72XX dispChain(latchPin, numDevices);

// create the time displays
MAX72XXDisplay counterDisp(&dispChain, 0, 5);
MAX72XXDisplay txtDisp(&dispChain, 5, 3);

void setup() {

dispChain.setIntensity(10); // set the intensity for all the devices

counterDisp.writeNumber(921, 1);
counterDisp.update(true);
txtDisp.writeChar(0, MAX72XX::Character::BLANK);
txtDisp.writeChar(1, MAX72XX::Character::P);
txtDisp.writeChar(2, 0b00111110 );
txtDisp.update(true);
}

void loop() {
}`

When testing with uno it works perfectly fine.

When testing with nano ESP the display stays off..

Am I doing anything wrong or will the library just not work with the nano?

20231006_140114
20231006_141300

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.