mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +03:00
grove: Updated java/script tests for light and slide sensor.
Since these were split out from the grove lib, they need to load their own library, ie Light now comes from upm_light.so. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@ -22,10 +22,10 @@
|
||||
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
var upm_grove = require('jsupm_grove');
|
||||
var upm_slide = require('jsupm_slide');
|
||||
|
||||
//setup access analog input Analog pin #0 (A0)
|
||||
var Slide = new upm_grove.Slide(0);
|
||||
var Slide = new upm_slide.Slide(0);
|
||||
|
||||
loop();
|
||||
|
||||
|
Reference in New Issue
Block a user