-
Notifications
You must be signed in to change notification settings - Fork 1
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
Command readByte in LedimagePainter #26
Comments
It isn't in a library, it is in the LedImagePainter.ino file. I haven't tried compiling with Arduino IDE, I use Microsoft Visual Studio, but it calls the same compiler so it should work. |
OK, I see what it is, MSVC handles forward references differently than Arduino IDE. I'll fix and check in a new version. |
OK, I fixed the code for the Arduino IDE. |
Is it working for you now? If so, I'll close this issue. |
Hi Martin,
Thanks for your quick responce and soluction.
I've compiled it with ArduinoIDE and it compiled without errors.
I'm waiting for some parts (from china) before I can test it.
Again thanks for the good work.
Regards
Cor
Op ma 16 nov. 2020 18:50 schreef MartinNohr <[email protected]>:
… Is it working for you now? If so, I'll close this issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFZ7AHOEZ7UKKYPK63UQAPLSQFRADANCNFSM4TWBVEBQ>
.
|
Make sure you comment that line I mentioned or the pins for the switch will be wrong for the schematic. I accidentally changed them when I had the PCB made. I'm redoing the PCB and I will fix those pins again so they match the original schematic. If the switch isn't working then that is likely the problem. Or you could of course just change the wiring to match the code, but in the future I will be making it match the schematic. I only had 5 PCB's made and when they are gone the code will be changed so the default matches the schematic. |
Glad you got it to compile. Next wire it up and see if you can get it to work! Let me know if you have any problems. |
Thanks voor the warming, I had already comment that line.
I' m stille waiting for the parts, expecting 5 dec. Then I can start
testing. 3d printer is already running for some parts.
I adapted a tripod mount to the handle and rotating handle.
Regatta
Cor
|
Some question for the build:
|
You should add that 470 ohm resistor. I forgot, oops. I'll add them to the next version of my PCB. The data lines are both in the middle of the stick when using two. I reverse the data in software going to the bottom stick to deal with that. I originally ran the wire down to the bottom but that seemed silly and messy. Led1 is the bottom stick and Led2 is the upper one. |
Thanks for the question on where to hook up the data lines. I will make that clear in the documentation somewhere. |
BTW, the reason I used two control pins from the ESP32 is exactly because I wanted to avoid running the wire down the length of the strip. My original design just chained the two strips and used one control pin. I didn't like that long wire! |
I just noticed that I broke something in the code for the second LED strip. Oops! I'll fix it in the next couple of days. |
Fixed two LED strip handling. |
|
The TTGO version is now working. It uses the TTGO T-Display version. It has a lovely color screen. I added the ability to preview the BMP files on the screen. |
Hello,
I'm using Arduino IDE and try to compilate the LedImagePainter.ino.
But I get an error for the command readByte: readByte' was not declared in this scope
In which library can I find readByte?
The text was updated successfully, but these errors were encountered: