@@ -1664,70 +1664,70 @@ def brightness_pct(self, value):
1664
1664
Led .green_right = Led (name = 'ev3-right1:green:ev3dev' )
1665
1665
1666
1666
@staticmethod
1667
- def Led_mix_colors (red , green ):
1667
+ def _Led_mix_colors (red , green ):
1668
1668
Led .red_left .brightness_pct = red
1669
1669
Led .red_right .brightness_pct = red
1670
1670
Led .green_left .brightness_pct = green
1671
1671
Led .green_right .brightness_pct = green
1672
- Led .mix_colors = Led_mix_colors
1672
+ Led .mix_colors = _Led_mix_colors
1673
1673
1674
1674
@staticmethod
1675
- def Led_set_red (pct ):
1675
+ def _Led_set_red (pct ):
1676
1676
Led .mix_colors (red = 1 * pct , green = 0 * pct )
1677
- Led .set_red = Led_set_red
1677
+ Led .set_red = _Led_set_red
1678
1678
1679
1679
@staticmethod
1680
- def Led_red_on ():
1680
+ def _Led_red_on ():
1681
1681
Led .set_red (1 )
1682
- Led .red_on = Led_red_on
1682
+ Led .red_on = _Led_red_on
1683
1683
1684
1684
@staticmethod
1685
- def Led_set_green (pct ):
1685
+ def _Led_set_green (pct ):
1686
1686
Led .mix_colors (red = 0 * pct , green = 1 * pct )
1687
- Led .set_green = Led_set_green
1687
+ Led .set_green = _Led_set_green
1688
1688
1689
1689
@staticmethod
1690
- def Led_green_on ():
1690
+ def _Led_green_on ():
1691
1691
Led .set_green (1 )
1692
- Led .green_on = Led_green_on
1692
+ Led .green_on = _Led_green_on
1693
1693
1694
1694
@staticmethod
1695
- def Led_set_amber (pct ):
1695
+ def _Led_set_amber (pct ):
1696
1696
Led .mix_colors (red = 1 * pct , green = 1 * pct )
1697
- Led .set_amber = Led_set_amber
1697
+ Led .set_amber = _Led_set_amber
1698
1698
1699
1699
@staticmethod
1700
- def Led_amber_on ():
1700
+ def _Led_amber_on ():
1701
1701
Led .set_amber (1 )
1702
- Led .amber_on = Led_amber_on
1702
+ Led .amber_on = _Led_amber_on
1703
1703
1704
1704
@staticmethod
1705
- def Led_set_orange (pct ):
1705
+ def _Led_set_orange (pct ):
1706
1706
Led .mix_colors (red = 1 * pct , green = 0.5 * pct )
1707
- Led .set_orange = Led_set_orange
1707
+ Led .set_orange = _Led_set_orange
1708
1708
1709
1709
@staticmethod
1710
- def Led_orange_on ():
1710
+ def _Led_orange_on ():
1711
1711
Led .set_orange (1 )
1712
- Led .orange_on = Led_orange_on
1712
+ Led .orange_on = _Led_orange_on
1713
1713
1714
1714
@staticmethod
1715
- def Led_set_yellow (pct ):
1715
+ def _Led_set_yellow (pct ):
1716
1716
Led .mix_colors (red = 0.5 * pct , green = 1 * pct )
1717
- Led .set_yellow = Led_set_yellow
1717
+ Led .set_yellow = _Led_set_yellow
1718
1718
1719
1719
@staticmethod
1720
- def Led_yellow_on ():
1720
+ def _Led_yellow_on ():
1721
1721
Led .set_yellow (1 )
1722
- Led .yellow_on = Led_yellow_on
1722
+ Led .yellow_on = _Led_yellow_on
1723
1723
1724
1724
@staticmethod
1725
- def Led_all_off ():
1725
+ def _Led_all_off ():
1726
1726
Led .red_left .brightness = 0
1727
1727
Led .red_right .brightness = 0
1728
1728
Led .green_left .brightness = 0
1729
1729
Led .green_right .brightness = 0
1730
- Led .all_off = Led_all_off
1730
+ Led .all_off = _Led_all_off
1731
1731
1732
1732
1733
1733
#~autogen
@@ -1738,26 +1738,26 @@ def Led_all_off():
1738
1738
Led .blue_two = Led (name = 'brickpi2:blue:ev3dev' )
1739
1739
1740
1740
@staticmethod
1741
- def Led_mix_colors (blue ):
1741
+ def _Led_mix_colors (blue ):
1742
1742
Led .blue_one .brightness_pct = blue
1743
1743
Led .blue_two .brightness_pct = blue
1744
- Led .mix_colors = Led_mix_colors
1744
+ Led .mix_colors = _Led_mix_colors
1745
1745
1746
1746
@staticmethod
1747
- def Led_set_blue (pct ):
1747
+ def _Led_set_blue (pct ):
1748
1748
Led .mix_colors (blue = 1 * pct )
1749
- Led .set_blue = Led_set_blue
1749
+ Led .set_blue = _Led_set_blue
1750
1750
1751
1751
@staticmethod
1752
- def Led_blue_on ():
1752
+ def _Led_blue_on ():
1753
1753
Led .set_blue (1 )
1754
- Led .blue_on = Led_blue_on
1754
+ Led .blue_on = _Led_blue_on
1755
1755
1756
1756
@staticmethod
1757
- def Led_all_off ():
1757
+ def _Led_all_off ():
1758
1758
Led .blue_one .brightness = 0
1759
1759
Led .blue_two .brightness = 0
1760
- Led .all_off = Led_all_off
1760
+ Led .all_off = _Led_all_off
1761
1761
1762
1762
1763
1763
#~autogen
0 commit comments