I always flash the Arduino with from the version I’m intending on using it with. In my mind it should be 100% compatible then. Flashing with a different version may mean some in compatibilities.
Anyhow, Glad it’s now working and you can move on.
Buttons array
Re: Buttons array
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Re: Buttons array
Hello, i write again here, because with the new firmware, buttons array is not working anymore Any advice?
Re: Buttons array
Also asked in the support ticket: which type of Arduino are you using?
Re: Buttons array
Hello,
I have similar problem in Arduino Mega but: in AM3.7 buttons array working ok, in AM4.0 not (https://siminnovations.com/forums/viewt ... 767#p29767).
I still use AM3.7, AM4.0 is for me not usable., I had no answer for my old tread.
Marek
I have similar problem in Arduino Mega but: in AM3.7 buttons array working ok, in AM4.0 not (https://siminnovations.com/forums/viewt ... 767#p29767).
I still use AM3.7, AM4.0 is for me not usable., I had no answer for my old tread.
Marek
Re: Buttons array
Did you flash the Mega in 4.0?
I'm gonna do some testing this Friday.
I'm gonna do some testing this Friday.
Re: Buttons array
Yes, for AM4 I use flash from AM4 and for 3.7 I flash from 3.7
I tested with two Arduino Mega boards.
Marek
I tested with two Arduino Mega boards.
Marek
Re: Buttons array
Okay I will test it. You are both aware of the maximum number of buttons?
http://siminnovations.com/wiki/index.ph ... #Arguments
http://siminnovations.com/wiki/index.ph ... #Arguments
- Keith Baxter
- Posts: 4685
- Joined: Wed Dec 20, 2017 11:00 am
- Location: Botswana
Re: Buttons array
Hi,
I think Corjan fixed that in the AM4 (beta40). Did you try the beta?
Keith
I think Corjan fixed that in the AM4 (beta40). Did you try the beta?
Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board, 32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card
Re: Buttons array
In beta 40 still not working.
I can create array 3 x 5 maximum
Marek
I can create array 3 x 5 maximum
Marek
Re: Buttons array
Dear Siminnovations people,
still I have not answer for my problem. I made additional tests and I found that:
buttons in row D11 and D10 working with button release state but not working with button press state. Other buttons in array working properly in both ways.
My testing gauge:
Regards
Marek
still I have not answer for my problem. I made additional tests and I found that:
buttons in row D11 and D10 working with button release state but not working with button press state. Other buttons in array working properly in both ways.
My testing gauge:
Code: Select all
-test buttons array gauge by MaSi
canvas_test = canvas_add(0, 0, 200, 200, function()
_rect(50, 50, 100, 100)
_fill("black")
end)
function b_pres(row, column)
print("button pressed at " .. row .. ", " .. column)
end
function b_rel(row, column)
print("button released at " .. row .. ", " .. column)
end
hw_button_array_add(5, 5, "ARDUINO_MEGA2560_A_D7", "ARDUINO_MEGA2560_A_D8", "ARDUINO_MEGA2560_A_D9", "ARDUINO_MEGA2560_A_D10", "ARDUINO_MEGA2560_A_D11", "ARDUINO_MEGA2560_A_D3" , "ARDUINO_MEGA2560_A_D4", "ARDUINO_MEGA2560_A_D2","ARDUINO_MEGA2560_A_D5","ARDUINO_MEGA2560_A_D6", b_pres, b_rel)
Regards
Marek