You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: APIs_Drivers/BusOut_ex_1/README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
# BusOut example
2
2
3
-
The BusOut interface can be used to create an artificial bus of pins out of any digital ins. The pins do not have to have sequential hardware addressing. This example program counts up from 0 to 15 or binary 0000 to 1111. The effect of this is turning LED1-LED4 on or off according to the number going across the bus. The example code toggles LED's on / off, if a tricolor led is on the board then the led will change colors.
3
+
You can use the BusOut interface to create an artificial bus of pins out of any digital ins. The pins don't need sequential hardware addressing. This example program counts up from 0 to 15 or binary 0000 to 1111. The effect of this is turning LED1-LED4 on or off according to the number going across the bus. The example code toggles LEDs on and off. If a tricolor LED is on the board, the LED changes colors.
4
4
5
-
**Note**: When initializing a BusOut object you initialize pins in their bit order from right to left, be careful as the bit order is the reverse of the object initializing order.
5
+
**Note**: When initializing a BusOut object, you initialize pins in their bit order from right to left. Be careful because the bit order is the reverse of the object initializing order.
0 commit comments