I have a stack of 7 hats, I have read all the EEPROMS & they can all be seen when I list the hats. I have given each hat its own number using the jumpers on the board 0-6 with the MASTER being 0, all the lights are green.
I am using the multi_hat_synchtonous_scan code as my base & have changed DEVICE_COUNT = 7
The code was working fine for 2 hats but now I get a segmentation error during the trigger set up as soon as it tries to configure device 2.
Question
NicR
I have a stack of 7 hats, I have read all the EEPROMS & they can all be seen when I list the hats. I have given each hat its own number using the jumpers on the board 0-6 with the MASTER being 0, all the lights are green.
I am using the multi_hat_synchtonous_scan code as my base & have changed DEVICE_COUNT = 7
The code was working fine for 2 hats but now I get a segmentation error during the trigger set up as soon as it tries to configure device 2.
The line that throws the error,
convert_chan_mask_to_string(chan_mask[device], chan_display[device]);
What am I missing here?
Edited by NicRwrong device number, additional information
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now