I need to override the switch position in software. MSFS will disable one of those leftmost yellow switches under a certain circumstance.
My first idea was to use momentary switches, and have an...
I think it can be right since Serout/Serout2 happens in a async rate. USB is fast but in any case the soft Serial is interrupted randomly.
The logic analyzer catches one instant of this.
...
From an old DT post (https://www.picbasic.co.uk/forum/showthread.php/13356-USBSERVICE-serout2-problem?p=90526)
tumbleweed Yesterday, 15:01The PIC ports with HSEROUT and HSERIN are already taken. Using a baud rate of 9600 instead of 19200 made a difference. It is now working fine. The USB Darrel's interrupt takes micro seconds to...
rsocor01 Yesterday, 14:16that can't be right because:)
my next guess is that device A is running on 3Volts:D
this guessing game has got longer legs than i expected
The design is based on a classic switch (On/Off) but if I understand correctly, in special cases, the push button should be in a specific state and user is not allowed to change that.
Ioannis
not sure if I am understanding what you need, but if you need an indicator that the mechanism is in one position or another then a hall effect switch is just a simple 'proximity sensor'..... when the...
amgen - 28th April 2024, 21:30If you're using interrupts on either end then you shouldn't use SEROUT/SERIN as interrupts will upset the timing.
You should use the hardware HSEROUT/HSERIN routines, but then you will have to use...
I guess then, the sending device is interrupted by the USB routines while sending and as a consequence the transmission of RS-232 at that time is corrupted.
Ioannis
Re: New project - MSFS C++ USB interface
That's always an option, but it's a slower mechanism.
Demon Today, 00:04And I still have the issue of having sufficient torque to activate the switch. The motor has a stroke length, but no mention of force.
...