Atem tally light code (creating tally byte)

Hi Paul,

Thx for your quick reply.
I changed the code to

[             for (uint8_t i=1;i<=8;i++) {
               if (AtemSwitcher.getProgramTally(i)){
                 bitSet((payload.tally),8+i-1);
               }
             }
            
             for (uint8_t i=1;i<=8;i++) {
               if (AtemSwitcher.getPreviewTally(i)){
                 bitSet((payload.tally),i-1);
               }
             }
/code]

Now the sketch is compiling :D

I will test the code a soon i have the ATEM availible.

Kind regards 
Koen