Code Monkey home page Code Monkey logo

Comments (3)

marvinroger avatar marvinroger commented on May 27, 2024

Can you shutters.reset() in a sketch, just once, so that it cleans the EEPROM to a clean state. Then, flash your sketch again.

from arduino-shutters.

cingolanifede avatar cingolanifede commented on May 27, 2024

It is doing the same. Also i Cleaned the eeprom and flashed the code again. when level reach the 30% i get:
Shutters: reached target
Shutters: halting
Shutters halting.
Shutters: notifying level 30
Shutters at 30%
Shutters: end of safety delay

Seems to be ok, then I set to 50% and i get this in the console and stays in level 0.
Going to level 50
Shutters: starting move
Shutters: going down
Shutters going down.
30
Going to level 0
Shutters: finished normalizing
Shutters: halting
Shutters halting.
Shutters: notifying level 31
Shutters at 31%
Shutters: end of safety delay
Shutters: starting move
Shutters: going up
Shutters going up.
Shutters: notifying level 30
Shutters at 30%
Shutters: notifying level 29
Shutters at 29%

Shutters: notifying level 3
Shutters at 3%
Shutters: notifying level 2
Shutters at 2%
Shutters: notifying level 1
Shutters at 1%
Shutters: starting calibration
Shutters: calibration is done
Shutters: halting
Shutters halting.
Shutters: notifying level 0
Shutters at 0%
Shutters: end of safety delay

Also I'm having this compiler error in the "readInEeprom" function and to test the code I commented.

exit status 1
cannot convert 'char ()[(((sizetype)) + 1)]' to 'char' for argument '1' to 'void readInEeprom(char*, byte)'

Thanks again

from arduino-shutters.

cingolanifede avatar cingolanifede commented on May 27, 2024

Sorry. I figured out that it was a serial port problem, after i send the command the uc received noise and reset the level.
The cannot convert 'char ()[(((sizetype)) + 1)]' to 'char' for argument '1' to 'void readInEeprom(char*, byte)' i solved it by removing & in (&storedShuttersState).
Closing issue!

from arduino-shutters.

Related Issues (20)

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.