Rev 1221 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1221 | Rev 1239 | ||
---|---|---|---|
Line 192... | Line 192... | ||
192 | PPM_in[index] = tmp; // update channel value |
192 | PPM_in[index] = tmp; // update channel value |
193 | } |
193 | } |
194 | index++; // next channel |
194 | index++; // next channel |
195 | // demux sum signal for channels 5 to 7 to J3, J4, J5 |
195 | // demux sum signal for channels 5 to 7 to J3, J4, J5 |
196 | if(index == 5) J3HIGH; else J3LOW; |
196 | if(index == 5) J3HIGH; else J3LOW; |
197 | if(index == 6) J4HIGH; else J3LOW; |
197 | if(index == 6) J4HIGH; else J4LOW; |
198 | if(CPUType != ATMEGA644P) // not used as TXD1 |
198 | if(CPUType != ATMEGA644P) // not used as TXD1 |
199 | { |
199 | { |
200 | if(index == 7) J5HIGH; else J5LOW; |
200 | if(index == 7) J5HIGH; else J5LOW; |
201 | } |
201 | } |
202 | } |
202 | } |