Basic Arduino Lessons for Home Cockpit Flight Simulation - How to Write Code for Toggle Switches

  Рет қаралды 432

Fun of Flying

Fun of Flying

Күн бұрын

Пікірлер: 13
@johnbyrne1567
@johnbyrne1567 Жыл бұрын
Thanks enjoyed both videos. Looking forward to some code, to add multiple switches and buttons. Thanks again
@funofflying15
@funofflying15 Жыл бұрын
You're welcome!
@mauriciocamataful
@mauriciocamataful Жыл бұрын
Hello Paul, how are you? I Hope fine. Thanks a lot for another wonderful video. Are you intend to do the same kind of video in order to teach how to connect a Toggle Switches or another kind of input through Arduino Mega to both X-Plane 12 and MSFS2020? I hope that you will do that. Best regards my friend.
@massimoturso1120
@massimoturso1120 Жыл бұрын
It works only with Leonardo microcontroller, as well explained at min 3:51, look at the text under IMPORTANT, because it's a HID (Human Interface device) like a Joystick or a keyboard, MEGA2560 or UNO are not of this kind and it's not possible use the library keyboard.h. The only solution to use one of those two is MOBIFLIGHT.
@funofflying15
@funofflying15 Жыл бұрын
Thank you Mauricio for your kind words once again, they are very much appreciated :-) Unfortunately, as indicated in the video and in the post below, it isn't possible to use the Mega2560 microcontroller as a HID device or a NON HID device sending keyboard commands. The reason for this is that the Mega2560 does not have the ATmega32u4 processor onboard with its native USB support, unlike the Arduino Leonardo, which does. The only way to use a Mega2560 microcontroller as a stand alone device, is to use the XPLDirect or XPLPro plugins from Curiosity Workshop, or Mobiflight as the gentleman below has pointed out. I will be posting more videos on the former in due course. Kind regards and take care my friend, regards Paul :-)
@mauriciocamataful
@mauriciocamataful Жыл бұрын
Hello, Paul. How are you? Again, thanks a lot for the video and for the answer. I am supposing that it is a small misunderstanding I know that Arduino Mega is not an USB endogenous device, so it is not possible to connect as keyboard or Joystick. When I said "same kind of video" I was referring about the quality of the video, always very clear and didact. So, please , let me try to clarify. I will be happy to see a video teaching how to connect Toggle Switches or another kind of input through Arduino Mega for both, X-Plane 12 (via XPLPro plugins, for example) and MSFS2020 ( like via SDK ). Maybe outputs as well. Best regards and take care, my friend. Um grande abraço
@funofflying15
@funofflying15 Жыл бұрын
Hi Mauricio, all understood my friend and yes, I will be producing further videos along the lines you have suggested, using both XPLDirect and the more recent XPLPro (XP12), as well as the Microsoft SDK (MSFS2020). Hope that's OK for now and I'll be in touch soon. Kind regards Paul :-)
@emmanuelguibe4629
@emmanuelguibe4629 Жыл бұрын
Thank you for your always very informative videos, especially when you are new to Arduino. I'm trying to make a collective handle with 2 rotary potentiometers and 7 ON/OFF toggle switches. Can I submit the code to you for verification? (or if you could make a short video mixing the combinations of potentiometers and toggle switches, that would be cool) Thanks again
@funofflying15
@funofflying15 Жыл бұрын
Hi there and thank you again for your kind words, appreciated :-) Yes of course, please by all means send me your code for verification when you're ready, I would be glad to have a look at it for you. Kind regards Paul
@emmanuelguibe4629
@emmanuelguibe4629 Жыл бұрын
@@funofflying15 Thank you for your answer and the time you would like to spend reading my code
@humberto367
@humberto367 Жыл бұрын
Hello, Paulo, how are you? How were the holidays?
@funofflying15
@funofflying15 Жыл бұрын
Hi Humberto, nice to hear from you :-), Yes we are very well thank you and had a great six months onboard our lovely boat during the warmer months. Best regards to you and your family, Paul Oi Humberto, bom ouvir de você :-), Sim, estamos muito bem obrigado e teve um ótimo seis meses a bordo do nosso adorável barco durante os meses mais quentes. Atenciosamente a você e sua família, Paulo
@guilhermebrito4837
@guilhermebrito4837 11 ай бұрын
Super
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
This Video Will Determine How RICH You Can Get With A.I
15:00
André Vedor / Revampify
Рет қаралды 84
AI VOICE CHANGER 2024! EASY! [NEW BETTER]
11:24
Voice Changer
Рет қаралды 927
Windy Day At EDI
44:26
Aviation400
Рет қаралды 67