Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - bug in the program

(you are viewing a thread; or go back to list of threads)

bug in the program (by Gilmar)
Hello Jonathan, I liked very much the ldmicro. I have done many projects using this compiler. I did a project to automatically turn on the VCR, in order to use it as an image recorder of cameras. Since the keys stop / eject are together, I'm having problem with the ejection of the tape. I am sending you the program for your review and if possible help me fix it.

Graciously
Gilmar
Thu Mar 10 2011, 20:39:12, download attachment videPhilcoHF20.ld
STOP-Eject mode (by Boris)
I don't understand comments.
Hope this will help.
Fri Mar 11 2011, 10:23:49, download attachment STOP-Eject.ld
(no subject) (by Gilmar)
Hello Jonathan. Thanks for responding. The program that looks mailed serves to automatically trigger a VCR. In line 17 has a command to the STOP button on the VCR. This output is pin 8 (RB2) of PIC16F628 can not be activated twice, not to eject the tape. On line 18 I put a counter to avoid this. Many have VCR have stop / eject together, and if it is pressing twice of VCR ejects the tape. This is happening in this program and I could not find the error. Wish you could check and see if there is something wrong with this line. Thanks

Gilmar R. Alves
Sun Mar 13 2011, 15:16:46
program failure (by Gilmar)
Hi Boris, I thought it was Jonathan. Excuse me. As I said above. I just need to figure out why there are two commands in this output STOP. If you run the program, you will notice that this has worked well. But once in a while the tape is ejected. I need to find the error. Graciously

Gilmar
Sun Mar 13 2011, 15:31:04
(no subject) (by Boris)
Try using Set-Reset it is more accurate than counter.
Check my attachment.
In simulation You don't have noises or false triggering.
Mon Mar 14 2011, 02:27:33
Set-Reset (by Gilmar)
Hello Boris. I have not found this function. How do I replace a counter by Set-Reset. Give me an example please.

Att ..
Gilmar
Wed Mar 16 2011, 11:44:28
(no subject) (by Boris)
STOP-Eject.ld attachment
Thu Mar 17 2011, 06:31:17
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):