There is a program for raspberry pi, for reading a list of files from a flash drive and outputting them to a monochrome display, the list on the screen can be flipped with clock buttons. You need to integrate it with the program Printrun (Pronterface). First put the code of my program outside the class. Then I put it in the ConsoleOutputHandler class. But neither the buttons nor the display work in both cases. What to do? Below I attach four files: 1) a program for working with the display; three options Pronterface - 2) original; 3) with the code of my program outside the class; 4) in the classroom. http://rgho.st/6Gqhm6spJ And another link to the full printrun source just in case https://github.com/kliment/Printrun
Closed due to the fact that off-topic participants D-side , zRrr , Nick Volynkin ♦ Jun 8 '16 at 1:10 .
It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:
- “Questions asking for help with debugging (“ why does this code not work? ”) Should include the desired behavior, a specific problem or error, and a minimum code for playing it right in the question . Questions without an explicit description of the problem are useless for other visitors. See How to create minimal, self-sufficient and reproducible example . " - D-side, zRrr, Nick Volynkin
- oneit is better to place your code on pastebin , and also give the errors of your program. - approximatenumber
- I also do not understand what the problem is. Or the problem is that the author does not know how to write code and asks to combine 2 foreign projects? - eri
- @approximatenumber pastebin does not need to be offered. Instead, you should create a minimal , but complete, example code that shows the problem and place it in the question (several lines for each program should be enough, the rest of the code should be replaced with plugs). the minimum reproducible example is jfs
|