Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coding Problems #1

Open
mwpost opened this issue Jul 26, 2020 · 0 comments
Open

Coding Problems #1

mwpost opened this issue Jul 26, 2020 · 0 comments

Comments

@mwpost
Copy link

mwpost commented Jul 26, 2020

Hallo psi,

ich bekomme den Beispiel-Sketch leider nicht kompiliert. Ich benutze einen Arduino Pro Mini 3,3V, 8MHz und die Arduino Entwicklungsumgebung 1.8.12. Ich habe die Bibliothek Asksinpp-V4 und alternativ den Master-Branch probiert. Leider bricht die Kompilierung immer mit folgenden Fehlern ab:
"
In file included from C:\Mein_Verzeichnis\Documents\Arduino\libraries\AskSinPP-master/Dimmer.h:11:0,

             from C:\Mein_Verzeichnis\AppData\Local\Temp\arduino_modified_sketch_568111\HM-LC-Dim1PWM-CV.ino:14:

C:\Mein_Verzeichnis\Documents\Arduino\libraries\AskSinPP-master/actors/PWM.h: In member function 'void as::PWM8<STEPS, LINEAR, INVERSE>::sendData(byte, byte)':

C:\Mein_Verzeichnis\Documents\Arduino\libraries\AskSinPP-master/actors/PWM.h:57:28: error: 'CHIP_ADDR' was not declared in this scope

 Wire.beginTransmission(CHIP_ADDR >> 1);

                        ^~~~~~~~~

C:\Mein_Verzeichnis\Documents\Arduino\libraries\AskSinPP-master/actors/PWM.h:57:28: note: suggested alternative: '_SFR_ADDR'

 Wire.beginTransmission(CHIP_ADDR >> 1);

                        ^~~~~~~~~

                        _SFR_ADDR

C:\Mein_Verzeichnis\Documents\Arduino\libraries\AskSinPP-master/actors/PWM.h: In member function 'void as::PWM99<STEPS, LINEAR, INVERSE>::set(uint8_t)':

C:\Mein_Verzeichnis\Documents\Arduino\libraries\AskSinPP-master/actors/PWM.h:107:11: error: 'wiper0writeAddr' was not declared in this scope

sendData(wiper0writeAddr, brightness);

       ^~~~~~~~~~~~~~~

exit status 1
Fehler beim Kompilieren für das Board Arduino Pro or Pro Mini.
"

Hast Du einen Tipp für mich?

Besten Dank für die Unterstützung,
mwpost

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant