sabas1080/uBit_BMP085

Block just greyed out

Closed this issue · 10 comments

Hi,

Really want to use this as its the only one that has the altitude function rather than just pressure and temp. It imports but just give me a grey icon. I can add the block but then just get compliation errors.

Any ideas?

Thanks

Hi @damianburrin

I just tried with micro bit and everything ok, it is an example

example_bmp180

Note: the pressure module is not fully working, you are welcome to contribute

bmp

Hi,

Thanks for getting back to me. The print screen is what I get. I notice the current PXT editor on microbit.org has been updated.

Really not sure what is happening. I'll do my best to contribute and fix but any pointers would be great

please switch to mode javascript and explorer error

microsoft makecode for micro bit

Hi, Thank you for your continued support.

This is what i see in the javascript mode
exploermode

It gives the same error as before but i can't see anything different.

As an addendum have you seen this
makecode

The editor has been updated. I tried the same blocks on the old editor and it does work so there's been a change somewhere that's making incompatible with the current version.

I notice the data i get isn't what i'd expect pressure or altitude wise - comes out differently to the values i get when addressing it in C via the arduino but you did say there was some issues with it but I guess the issue of it not working is down to the new editor,

Any help would be appreciated.

Thanks you

Yes, not working is down to the new editor

with the new editor theoretically you should be able to pass everything to typescript and leave C, unfortunately I can do that for a few months

Ah - ok At least we have replicated the problem. I'm not competent enough to be able to do much to help here but if you do get round to a fix let me know and i'll happily test. I

Much appreciated
Damian

Hi @damianburrin It was updated for the latest microbit version you can try please

Yep seems to compile now. Thank you

thanks to you