Skip to content

Commit ee2f14b

Browse files
committed
This is an enum now
1 parent e734b79 commit ee2f14b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

programming/sr/radio/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,13 @@ It has the following attributes:
7676

7777
station_code
7878
: The two character identifier of the transmitter.
79+
Valid values are members of the `StationCode` enum.
80+
~~~~~ python
81+
from sr.robot import StationCode
82+
83+
for station in StationCode:
84+
print(station)
85+
~~~~~
7986

8087
owned_by
8188
: The zone id of the robot that currently owns the stations territory. A `None` value indicates an unclaimed territory.

0 commit comments

Comments
 (0)