Hobbyist Toolkit

cancel
Showing results for 
Search instead for 
Did you mean: 

16 Channels reading with Arduino Mega 2560

When I use the Read N Analogue channels there are only 9 in the array. But the Mega has 16...

I looked into the sub VIs within this and changed some Unsigned 8 bit integers to 16, this didn't solve it.

Does anyone know how to expand this to include all 16 analogue channels?

 

This is the Linx function, I only found Hobbyist Toolkit section in the forum.

0 Kudos
Message 1 of 4
(515 Views)

You'd also have to update the firmware that gets loaded to the atmega to utilize all the channels.

~ The wizard formerly known as DerrickB ~
Gradatim Ferociter
0 Kudos
Message 2 of 4
(481 Views)

The probe view in LabVIEW shows 16 input channels. Maybe the firmware is OK to not change

0 Kudos
Message 3 of 4
(452 Views)

The firmware only publishes the number of values it was programmed to. If you edited the code on the host side telling it to allocate space for 16 values you'll see 16 values.

~ The wizard formerly known as DerrickB ~
Gradatim Ferociter
0 Kudos
Message 4 of 4
(434 Views)