4 A_IMAGE
= Image('00009:'
10 B_IMAGE
= Image('90009:'
18 display
.scroll('Ready', wait
=False, loop
=True)
19 last_receive_time
= None
23 message
= radio
.receive()
25 last_receive_time
= running_time()
27 display_image
= A_IMAGE
29 display_image
= B_IMAGE
30 elif last_receive_time
:
31 dimness
= (running_time() - last_receive_time
) / 500
32 if dimness
> 9: dimness
= 9
33 display
.show(display_image
/ dimness
, wait
=False)