System Call DVD Feedback
davegrov
Posts: 114
I'm working on a project with a Denon DVD using IR control. I am trying to use a system call but not getting any feedback. I am using one line of code for the device in the DEFINE_PROGRAM SECTION.
SYSTEM CALL [] DVD2 {dvDVD,dvTPDVD,61,62,63,64,65,66,67,61}
Anybody know why I am not getting feedback?
SYSTEM CALL [] DVD2 {dvDVD,dvTPDVD,61,62,63,64,65,66,67,61}
Anybody know why I am not getting feedback?
0
Comments
Exactly my thought process and hence the question.
Yes. AMX is teaching System Call in Programming 1. I also think that RS-232 is the way to go but they never asked me my opinion when they designed the system.
A new offset must just be calculated i.e. if you want to use the DVD and a VCR systemcall on the same IR port. But this formula is tricky (can't remember), and the IR file must be captured in a special order.
Personally, if real feedback is requzired, use a serial controlled player. If youo have an IR controlled device, I tell that it is not good to assume any states, so I recommend just to use momentary feedback to show the user that he has hit the button (to explain the user the difference:" imagine your hand control would show PLAY, but the player is in stop... Do you want this?")
Btw - isn't the compiler giving a syntax error? SystemCalls expect () instead of {} for the parameters.