Rev 724 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 724 | Rev 729 | ||
---|---|---|---|
Line 638... | Line 638... | ||
638 | case 30: |
638 | case 30: |
639 | LCD_printfxy(0,0,"CamCtrl"); |
639 | LCD_printfxy(0,0,"CamCtrl"); |
640 | if(!(FromCamCtrl.CamStatus & CAM_STATE_I2C_OK)) |
640 | if(!(FromCamCtrl.CamStatus & CAM_STATE_I2C_OK)) |
641 | { |
641 | { |
642 | LCD_printfxy(0,2,"Not connected"); |
642 | LCD_printfxy(0,2,"Not connected"); |
643 | if(CamCtrlTimeout < 10) LCD_printfxy(13,3,"(conn)"); // connect manually |
643 | if(CamCtrlTimeout < 10) LCD_printfxy(14,3,"(conn)"); // connect manually |
644 | if(Keys & KEY4) CamCtrlTimeout = 65000; |
644 | if(Keys & KEY4) CamCtrlTimeout = 65000; |
645 | } |
645 | } |
646 | else |
646 | else |
647 | { |
647 | { |
- | 648 | LCD_printfxy(8,0,"V%i.%02i",1 + FromCamCtrl.Version / 100, FromCamCtrl.Version % 100); |
|
- | 649 | ||
648 | switch(FromCamCtrl.Type) |
650 | switch(FromCamCtrl.Type) |
649 | { |
651 | { |
650 | case TYPE_LANC: LCD_printfxy(8,0,"LANC"); break; |
652 | case TYPE_LANC: LCD_printfxy(13,0,"L"); break; |
651 | case TYPE_IR: LCD_printfxy(8,0,"IR"); break; |
653 | case TYPE_IR: LCD_printfxy(13,0,"I"); break; |
652 | case TYPE_MULTI: LCD_printfxy(8,0,"MULTI"); break; |
654 | case TYPE_MULTI: LCD_printfxy(13,0,"M"); break; |
653 | } |
655 | } |
654 | LCD_printfxy(0,0,"CamCtrl"); |
656 | LCD_printfxy(0,0,"CamCtrl"); |
655 | LCD_printfxy(0,1,"State:"); |
657 | LCD_printfxy(0,1,"Stat:"); |
656 | if(FromCamCtrl.CamStatus & CAM_STATE_RDY) LCD_printfxy(6,1,"RDY ") else LCD_printfxy(6,1,"--- "); |
658 | if(FromCamCtrl.CamStatus & CAM_STATE_RDY) LCD_printfxy(5,1,"RDY") |
657 | if(FromCamCtrl.CamStatus & CAM_STATE_REC_ACTIVE) LCD_printfxy(10,1,"REC ") else LCD_printfxy(10,1," "); |
659 | if(FromCamCtrl.CamStatus & CAM_STATE_REC_ACTIVE) LCD_printfxy(10,1,"REC"); |
658 | if(FromCamCtrl.CamStatus & CAM_STATE_PHOTO_MODE) LCD_printfxy(14,1,"PHOTO") else LCD_printfxy(14,1," "); |
660 | if(FromCamCtrl.CamStatus & CAM_STATE_PHOTO_MODE) LCD_printfxy(14,1,"PHOTO"); |
- | 661 | if(FromCamCtrl.CamStatus & CAM_STATE_ZOOM) LCD_printfxy(5,1,"ZOOM "); |
|
- | 662 | if(!(FromCamCtrl.CamStatus & CAM_STATE_RDY)) LCD_printfxy(5,1," ---"); |
|
- | 663 | ||
- | 664 | LCD_printfxy(17,1,"(%c)",CamCtrlCharacter); |
|
Line 659... | Line 665... | ||
659 | 665 | ||
660 | if(FromCamCtrl.CamStatus & CAM_STATE_CAM_DISCONN) LCD_printfxy(0,2,"Disconn.") |
666 | if(FromCamCtrl.CamStatus & CAM_STATE_CAM_DISCONN) LCD_printfxy(0,2,"Disconn.") |
661 | else |
667 | else |
662 | { |
668 | { |
663 | if(FromCamCtrl.CamStatus & CAM_STATE_OFF) LCD_printfxy(0,2,"OFF ") else LCD_printfxy(0,2,"ON "); |
669 | if(FromCamCtrl.CamStatus & CAM_STATE_OFF) LCD_printfxy(1,2,"Cam:OFF") else LCD_printfxy(1,2,"Cam:ON"); |
664 | } |
670 | } |
665 | LCD_printfxy(10,2,"Pics:%3d ",FromCamCtrl.PhotoCount); |
671 | LCD_printfxy(11,2,"Pics:%3d ",FromCamCtrl.PhotoCount); |
666 | //LCD_printfxy(5,2,"x%2x ",FromCamCtrl.CamStatus); |
672 | //LCD_printfxy(5,2,"x%2x ",FromCamCtrl.CamStatus); |
667 | if(FromCamCtrl.PPM1Okay) LCD_printfxy(0,3,"Zoom:%3i",FromCamCtrl.PPM1Data); |
673 | if(FromCamCtrl.PPM1Okay) LCD_printfxy(0,3,"Zoom:%3i",FromCamCtrl.PPM1Data); |
668 | if(!FromCamCtrl.PPM2Okay) // there is PPM Input connected to the CamCtrl |
674 | if(!FromCamCtrl.PPM2Okay) // there is PPM Input connected to the CamCtrl |
669 | { |
675 | { |
670 | LCD_printfxy(14,3,"(TRIG)"); |
676 | LCD_printfxy(14,3,"(TRIG)"); |
671 | if(EE_Parameter.CamCtrlModeChannel == 0) |
677 | if(EE_Parameter.CamCtrlModeChannel == 0) |
- | 678 | { |
|
672 | { |
679 | if(FromCamCtrl.CamStatus & CAM_STATE_REC_ACTIVE) LCD_printfxy(9,3,"(off)") |
673 | LCD_printfxy(9,3,"(REC)"); // Control only possible if no switch is assigned |
680 | else LCD_printfxy(9,3,"(REC)"); // Control only possible if no switch is assigned |
674 | } |
681 | } |
Line 675... | Line 682... | ||
675 | else LCD_printfxy(0,3,"CH:%3i",127+PPM_In[EE_Parameter.CamCtrlModeChannel]); |
682 | else LCD_printfxy(2,3,"CH:%3i",127+PPM_In[EE_Parameter.CamCtrlModeChannel]); |
676 | 683 | ||
677 | if(Keys & KEY3) |
684 | if(Keys & KEY3) |
678 | { |
685 | { |