I’m trying to figure out how the section control works in 5.5.
I found where to assign pins to sections. I’m confused how the section assignment relates to the nano. I want section 1 to be assigned to nano pin D2, section 2 - D3 & section 3 to D4. I only need 3 sections.
Help will be appreciated.
Are you using the ardiuino Ino 5.5 as well? or just AOG 5.5?
I’ll be using both, 5.0 to plant treees and some tree spraying and 5.5 for the rest. I have 5.5 uploaded to the nano and I have it loaded in AgIO. In the section assignment screen I have sections assigned as stated above and sent to the nano. Three sections are filled in with measurements and also sent to the Nano from the machine section. I’m not getting any results on my relays. They work fine in 5.0.
It is supposed to be any pin, any time. I’ve not worked this feature.
The Arduino code in 5.5 to set the relays is as follows:
if (pin) digitalWrite(13, relayState[pin-1]);
if (pin) digitalWrite(5, relayState[pin-1]);
if (pin) digitalWrite(6, relayState[pin-1]);
if (pin) digitalWrite(7, relayState[pin-1]);
if (pin) digitalWrite(8, relayState[pin-1]);
if (pin) digitalWrite(9, relayState[pin-1]);
if (pin) digitalWrite(10, relayState[pin-1]);
if (pin) digitalWrite(11, relayState[pin-1]);
if (pin) digitalWrite(12, relayState[pin-1]);
if (pin) digitalWrite(4, relayState[pin-1]);
I’m not 100% how all of this is mapped to the pins. Someone else may chime in with better answers.