doc_rob Posted February 6, 2018 Report Share Posted February 6, 2018 I am compiling some samples with uGFX2.8, ChibiStudio and ChibiOS 17.6, gcc6.3 (latest Version of ChibiStudio). I started out with the Disco 429 sample and went through the demos in the demo dir of ugfx. Everything worked (gdisp: basic, pixmap, streaming, gwin: basic, button, checkbox, console, frame, graph, imagebox, label) but the slider demo wasn't working - the sliders where shown but no action on the sliders. After a while i found out that the sliders started working if i add one line from the Disco-429 project: gdispImageOpenFile(&img1, "smiley.png"); which is IMO weird because i don't need that image anywhere. Link to comment Share on other sites More sharing options...
inmarket Posted February 6, 2018 Report Share Posted February 6, 2018 Make sure you do a make clean. Adding that one line should have caused a compile error as img1 would not be defined. As you are not getting that error message something is going wrong with the build - hence the comment above about doing the make clean. Link to comment Share on other sites More sharing options...
doc_rob Posted February 6, 2018 Author Report Share Posted February 6, 2018 I am sorry i had a thread running and that screwed up the slider (the input from the touchpad was not doing anything). Can you point me to a documentation where the correct thread usage is? Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now