Skip to content

pastak/scratchx-websensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

scratchx-websensor

Usage

Extension script URL is http://pastak.github.io/scratchx-websensor/script.js

Here is link for ScratchX with this extension.

Caution

Some blocks only run on Firefox with MacOSX or Android.

Google Chrome and Firefox for other OS don't support these API.

Blocks

Light sensor (Int) Only Firefox

This block return value get with front camera.( unit is lux )

Battery Level (Int) Only Firefox

This block return battery level with percentage.

Acceleration (Float)

This block return acceleration includes the effect of gravity.

Geolocation (Float)

This block return geolocation of place which in you are.

About

ScratchX extension for WebAPI and Web Sensor API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published