Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix README formatting

  • Loading branch information...
commit c41e608802489cd1f5d8f39f90bf52b35486f1ca 1 parent edef3b2
andywu89 authored
Showing with 6 additions and 3 deletions.
  1. +6 −3 BB10/LED/README.md
9 BB10/LED/README.md
View
@@ -26,23 +26,26 @@ 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:
+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.
-
+id: request id - given when startLed command was issued.
Example:
+
<script type="text/javascript" >
var id = webworks.bbalert.led.startLed("FFFF00", "10");
webworks.bbalert.led.stopLed(id)
Please sign in to comment.
Something went wrong with that request. Please try again.