Giter Site home page Giter Site logo

LED does not stay lit about exixe HOT 6 CLOSED

modalexii avatar modalexii commented on August 12, 2024
LED does not stay lit

from exixe.

Comments (6)

dekuNukem avatar dekuNukem commented on August 12, 2024

Did LED work at all? What kind of Arduino are you using?

When I wrote the library I tested it with an Arduino Uno and Arduino Micro and it seemed fine. I'll try it again tomorrow.

If there is no response from the module at all, then it's more likely something wrong with the wiring, maybe tell me more about it and I'll try to figure it out.

from exixe.

dekuNukem avatar dekuNukem commented on August 12, 2024

Here is a barebone sketch that doesn't use the library at all, maybe try it and see?

https://github.com/dekuNukem/exixe/blob/master/arduino_examples/barebone/0_LED_test/0_LED_test.ino

from exixe.

modalexii avatar modalexii commented on August 12, 2024

The LED works. Using Teensy 3.2 (& 3.5). The barebone sketch works, but it's different than the library - in both barebone sketches, the buffer is never cleared like it is in line 67 of exixe.cpp

from exixe.

modalexii avatar modalexii commented on August 12, 2024

Superficially this seems to fix it (I would submit a pull but the code is locked up in that zip :-) ):

diff exixe.orig.cpp exixe.new.cpp

67c67
<   memset(spi_buf, 0, EXIXE_SPI_BUF_SIZE); // clear SPI buffer
---
>   memset(spi_buf, 0, EXIXE_SPI_BUF_SIZE - 3); // clear SPI buffer except for LED 
83d82
<   memset(spi_buf, 0, EXIXE_SPI_BUF_SIZE);// clear SPI buffer
136c135
< }
---
> }

from exixe.

dekuNukem avatar dekuNukem commented on August 12, 2024

well thanks modalexii! I'll update the library tomorrow and test it again.

from exixe.

dekuNukem avatar dekuNukem commented on August 12, 2024

I have updated the library file, please check it out and see if the issue is fixed

I also added the library files outside the zip file, so feel free to submit pull requests.

from exixe.

Related Issues (18)

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.