File tree Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -3694,34 +3694,6 @@ def get_pv3(self):
3694
3694
def get_pcs (self ):
3695
3695
return self .DAC .getVoltage ('PCS' )
3696
3696
3697
- def setOnboardLED (self , R , G , B ):
3698
- """
3699
- set shade of WS2182 LED on PIC1572 1 RA2
3700
-
3701
- .. tabularcolumns:: |p{3cm}|p{11cm}|
3702
-
3703
- ============== ============================================================================================
3704
- **Arguments**
3705
- ============== ============================================================================================
3706
- R brightness of red colour 0-255
3707
- G brightness of green colour 0-255
3708
- B brightness of blue colour 0-255
3709
- ============== ============================================================================================
3710
- """
3711
- try :
3712
- self .H .__sendByte__ (CP .COMMON )
3713
- self .H .__sendByte__ (CP .SET_ONBOARD_RGB )
3714
- # G=reverse_bits(G);R=reverse_bits(R);B=reverse_bits(B)
3715
- self .H .__sendByte__ (B )
3716
- self .H .__sendByte__ (R )
3717
- self .H .__sendByte__ (G )
3718
- self .__print__ (B , R , G )
3719
- time .sleep (0.001 )
3720
- self .H .__get_ack__ ()
3721
- return B , R , G
3722
- except Exception as ex :
3723
- self .raiseException (ex , "Communication Error , Function : " + inspect .currentframe ().f_code .co_name )
3724
-
3725
3697
def WS2812B (self , cols , output = 'CS1' ):
3726
3698
"""
3727
3699
set shade of WS2182 LED on SQR1
You can’t perform that action at this time.
0 commit comments