On board light sensor value


#1

hi, with the old mbot v1 and the older mblock v3.x software i used to be able to do a ‘live connected’ light sensor test, whereby the sprite would forever just say the value of the on-board light sensor, but the v5,6 i cant seem to figure it out.
ive even tried an upload connection w the usb plugged in.
can someone please point me to some example code for this.
i am able to do it with the ‘mic/sound level’ sensor just fine.
thanks
mm


#2

@magicmarc I haven’t fiddled with this in a while. Perhaps a lot of things broke in the 5.6 update :grimacing:

Let me check this in a couple of days (@ mention me if I don’t respond) and see what I can find out.


#3

@magicmarc What browser are you using? And what OS?


#4

@Rosco You could probably infer that from his post here :slight_smile:


#5

im using chrome on windows 10 latest updates.
like i mentioned i used to just be able to connect ‘live’ and do a forever > say [light sensor value on port x’]
simple.


#6

the disconnection are on my school windows 10 laptop. my home pc is the same windows 10… but it connects and stays connected correctly.


#7

ahhh, uh oh, theres problems in v5.6 youre saying…! can o go back to previous version…