In this chapter, we wrote and tested a few BoneScript programs. We used Arduino-like functions to blink onboard LEDs. We learned how to exit the program automatically after some time and run your program without the Cloud9 IDE. Finally, we wrote a program to dance the LEDs in a single direction and in both directions. All these programs are done without attaching any external component to BeagleBone. In the next chapter, we will connect external LEDs to BeagleBone and write similar programs to blink/dance them.