Skip to content
Browse files

fix README formatting

  • Loading branch information...
1 parent 60f11e6 commit 7a7004ffbd34a4a2774de911dff3f5c675e48609 Andy Wu committed Oct 1, 2012
Showing with 14 additions and 15 deletions.
  1. +14 −15 BB10/LED/README.md
View
29 BB10/LED/README.md
@@ -26,23 +26,22 @@ Whenever you use the below feature id in any of your WebWorks applications this
<feature id="webworks.bbalert.led" required="true" version="1.0.0.0" />
## Summary
- var id = webworks.bbalert.led.startLed([String: color], [String: blinkCount])
-
- Parameters:
- color: hex string with with format "RRGGBB", default: "FF0000"
- blinkCount: String Integer >=0, default: "0" (0 means Blink indefinitely until stopLed command is issued)
-
- Return:
- request id - used to reference the LED request
-
- webworks.bbalert.led.stopLed([String:id])
-
- Parameter:
- id: request id - given when startLed command was issued.
-
+var id = webworks.bbalert.led.startLed([String: color], [String: blinkCount])
+
+Parameters:
+color: hex string with with format "RRGGBB", default: "FF0000"
+blinkCount: String Integer >=0, default: "0" (0 means Blink indefinitely until stopLed command is issued)
+
+Return:
+request id - used to reference the LED request
+
+webworks.bbalert.led.stopLed([String:id])
+Parameter:
+id: request id - given when startLed command was issued.
- Example:
+Example:
+
<script type="text/javascript" >
var id = webworks.bbalert.led.startLed("FFFF00", "10");
webworks.bbalert.led.stopLed(id)

0 comments on commit 7a7004f

Please sign in to comment.
Something went wrong with that request. Please try again.