Skip to content

Commit

Permalink
fix README formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Wu committed Oct 2, 2012
1 parent 60f11e6 commit edef3b2
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions BB10/LED/README.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -26,23 +26,23 @@ 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" /> <feature id="webworks.bbalert.led" required="true" version="1.0.0.0" />


## Summary ## Summary
var id = webworks.bbalert.led.startLed([String: color], [String: blinkCount]) var id = webworks.bbalert.led.startLed([String: color], [String: blinkCount])

Parameters: Parameters:
color: hex string with with format "RRGGBB", default: "FF0000" color: hex string with with format "RRGGBB", default: "FF0000"
blinkCount: String Integer >=0, default: "0" (0 means Blink indefinitely until stopLed command is issued) blinkCount: String Integer >=0, default: "0" (0 means Blink indefinitely until stopLed command is issued)

Return: Return:
request id - used to reference the LED request request id - used to reference the LED request

webworks.bbalert.led.stopLed([String:id]) webworks.bbalert.led.stopLed([String:id])

Parameter: Parameter:
id: request id - given when startLed command was issued. id: request id - given when startLed command was issued.






Example: Example:
<script type="text/javascript" > <script type="text/javascript" >
var id = webworks.bbalert.led.startLed("FFFF00", "10"); var id = webworks.bbalert.led.startLed("FFFF00", "10");
webworks.bbalert.led.stopLed(id) webworks.bbalert.led.stopLed(id)
Expand Down

0 comments on commit edef3b2

Please sign in to comment.