Posts by Bruno M • 71 points
2 posts
-
5
votes2
answers464
viewsQ: Tip for C code optimization
The way I wrote the code below is very extensive. How to make the code more streamlined? void mostrasaida(char recebido) { int dadoA [5] = {252, 146, 145, 146, 252}; int dadoB [5] = {255, 201, 201,…
-
1
votes0
answers472
viewsQ: I can’t update jFrame from a Java thread
I have a code that reads the Serial Port through a thread, but when I try to update a label I can’t. I implemented a Serialread Runnable class, and in this class I run a loop to read the serial…