Comments (3)
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.
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.
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)
- Besoin d'aide HOT 1
- courseTimeDown < courseTimeUp HOT 5
- new API HOT 2
- Manually control UP and DOWN HOT 6
- Calibration obligatoire?? HOT 4
- Bug EEPROM = 100 HOT 8
- restore state does not restore up and downCourseTime HOT 1
- Multi-shutter example HOT 16
- Get the state in percent when halted HOT 4
- Can't get exemple sketch to work HOT 2
- Races during safety delay.
- EXAMPLE NOT WORKING HOT 3
- Calibration during the runtime HOT 4
- using interrupt allowed?
- multiple shutters
- _currentLevel == _targetLevel not handled properly
- exemple avec plusieurs shutters
- nullptr HOT 3
- EEPROMWrite HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-shutters.