Demo entry 6684292

LED

   

Submitted by anonymous on Dec 15, 2017 at 03:07
Language: C++. Code size: 160 Bytes.

system("echo 0,0,1 > /sys/devices/platform/davinci_ctr.2/traffic_lights/west");
system("echo 1,0,0 > /sys/devices/platform/davinci_ctr.2/traffic_lights/east");

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).