Search found 144 matches

by brodhaq
Wed Jun 16, 2021 5:20 pm
Forum: Under development and finished work
Topic: Universal Avionics EFI-890r
Replies: 14
Views: 2715

Re: Universal Avionics EFI-890r

Thank you Keith. I am not sure if there are lightning strike data in the UDP packets, but we did not even look for them, as the real unit does not have lightning detector, so I have no use for them currently. But I will eventually check, would love to do a stormscope for an old Pa-28 panel 😎 Maybe t...
by brodhaq
Wed Jun 16, 2021 3:42 pm
Forum: Under development and finished work
Topic: Universal Avionics EFI-890r
Replies: 14
Views: 2715

Re: Universal Avionics EFI-890r

So with all the menu and options done and fully working, and with map working very well, it was time to move forward again. This time I started to add weather radar to my EFI. As you know, X-Plane does not have weather radar datarefs. So? So we will make them! As you know, X-Plane is transmitting we...
by brodhaq
Mon May 10, 2021 11:30 am
Forum: Air Manager
Topic: Installing AM 4.0
Replies: 4
Views: 683

Re: Installing AM 4.0

Hello, is it possible to use AM3.7 with AM4.0 on the same computer? I have no reason to upgrade all my AirPlayers (would be costly!), so I have no choice but to keep an AM3.7 alive for them. But I would also like to start playing with 4.0 without leaving the 3.7 for some period of time. Thank you! P...
by brodhaq
Wed May 05, 2021 1:09 pm
Forum: Lua and API Scripting Help
Topic: How to remove decimal zero
Replies: 5
Views: 504

Re: How to remove decimal zero

Sling, this works so good! Thank you.

Pavel
by brodhaq
Thu Apr 22, 2021 12:44 pm
Forum: Lua and API Scripting Help
Topic: How to remove decimal zero
Replies: 5
Views: 504

Re: How to remove decimal zero

Hello and thank you,
I know those, but I believe they always remove the decimal, even if I want it to be displayed.

I need 2.5 to remain 2.5, but I also need 2.0 to be 2.

Pavel
by brodhaq
Thu Apr 22, 2021 12:32 pm
Forum: Lua and API Scripting Help
Topic: How to remove decimal zero
Replies: 5
Views: 504

How to remove decimal zero

Hello, I am trying to achieve the following functionality to display my TCAS range: txt_set(txt_range, 74/milestopixels) The problem is, that if the result is a whole number, the resulting text contains a decimal zero. Current functionality: result = 10 -> shown text = 10.0 result 2.5 -> shown text ...
by brodhaq
Sun Mar 28, 2021 3:53 pm
Forum: Lua and API Scripting Help
Topic: math.random() broken?
Replies: 1
Views: 411

math.random() broken?

Hello,
just noticed that AM 3.7.10 seems to return 0.001251220703125 always, when I call math.random(). Can this be solved? It would be great to have a pseudo-random number.
random.PNG
random.PNG (7.41 KiB) Viewed 411 times
Pavel
by brodhaq
Wed Mar 24, 2021 3:26 pm
Forum: Arduino
Topic: How to read the potentiometer value before it is moved for the first time
Replies: 6
Views: 685

How to read the potentiometer value before it is moved for the first time

Hello, strange issue here. I am using the following code to control my panel backlight using a potentiometer connected to Arduino which is connected to AirPlayer Raspberry. function LIGHTING_pots() POT_LIGHT_circuit_1 = hw_adc_input_read(LIGHT_circuit_1) POT_LIGHT_circuit_2 = hw_adc_input_read(LIGHT...
by brodhaq
Sat Mar 20, 2021 11:54 am
Forum: Air Manager
Topic: Air Manager with online stream/Cloud gaming service (like "Shadow" or XCloud)
Replies: 4
Views: 814

Re: Air Manager with online stream/Cloud gaming service (like "Shadow" or XCloud)

Maybe you can install a VPN server, and use that to connect your Shadow account to your local network where you other computer is?

Pavel
by brodhaq
Wed Feb 24, 2021 9:07 am
Forum: Raspberry Pi
Topic: RPI 4 only part of image is showing on monitor
Replies: 2
Views: 814

Re: RPI 4 only part of image is showing on monitor

Ok, found my old notes. This is the solution. SSH into your RPi, use sudo nano /boot/config.txt and set the following parameters (adjust for your screen resolution). Use CTRL + O to save, and CTRL + X to quit. Reboot your RPi.

Pavel
config_RPi.PNG