Posts by Douglas Lopes • 77 points
5 posts
-
0
votes0
answers94
viewsQ: Send bit to specific parallel port pins with php
I need to send a bit (pulse) to specific pins of a parallel port to control some stepper motors... With the php_serial.class.php class I know how to send a string, but how to send only one bit and…
-
0
votes2
answers514
viewsQ: How to register lack in electronic point system?
I’m having a question that’s geared toward programming logic. I created a point system that stores the time the user hits the point. Now I also need to store the reason for the absences: Holiday,…
phpasked Douglas Lopes 77 -
2
votes2
answers3254
viewsQ: Resizing image with canvas and Javascript
How to reduce the size of an image with JavaScript? I’m using canvas to resize, reduce the size in proportion and convert to jpeg. The problem occurs when I try to save the image, since I cannot…
-
2
votes1
answer1933
viewsQ: I would like to change an attribute of a dynamic element with jQuery
I have the following code that I thought would work, but nothing happens: $(document).on('click', '#tab-departamentos a', function(){ $('textarea').each(function(){ var a =…
-
0
votes0
answers174
viewsQ: How to change webcam focus while streaming?
I’m creating an electronic point system based on Qrcode and ended up locking because I can’t focus Qrcode when I’m on a mobile phone for example. I say this because on webcam there is the…