Search found 142 matches

by brodhaq
Mon May 10, 2021 11:30 am
Forum: Air Manager
Topic: Installing AM 4.0
Replies: 4
Views: 377

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: 275

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: 275

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: 275

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: 292

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 292 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: 466

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: 617

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: 671

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
by brodhaq
Wed Feb 24, 2021 8:31 am
Forum: Raspberry Pi
Topic: RPI 4 only part of image is showing on monitor
Replies: 2
Views: 671

RPI 4 only part of image is showing on monitor

Hello, I have a strange issue with RPI 4. I have been using it for months now. When I first switched from RPI 3 to RPI 4, I had this EXACT issue. Luckily, someone from this forum was able to help be, but I am unable to find that old thread. Yesterday I accidentaly uploaded a broken instrument with "...
by brodhaq
Tue Feb 23, 2021 11:57 am
Forum: Air Manager feedback & feature requests
Topic: Navigation API
Replies: 104
Views: 6260

Re: Navigation API

Hi When this is done can we please have access to this data. I am all set and waiting.. :lol: :lol: :lol: https://developer.x-plane.com/article/weather-radar-data/ . Weather_radar.png Keith I would LOVE that. :twisted: :twisted: The only thing that is not available yet. Lot of Navigation can be don...