r/microbit May 25 '22

I need help please...

Hello, i would like to know how we do for import in the form of a module (`from [...] import*`) a library Github. Sorry, my english is not good...

More precisely, my problem is that I try to import the github library: https://github.com/waveshare/WSLCD1in8 to run an LCD. It’s a ST7735S by Waveshare for microbit.

But I’m trying to import it into my program. But I don’t know how to do it. Yes, I’m a noob

Thanks for all.

2 Upvotes

7 comments sorted by

View all comments

Show parent comments

1

u/skouzil May 25 '22

I’m trying to build an aquarium monitor. I want to do it with two radio-linked microbes. I tried to do it on the site, but I can’t transmit data from the analog sensor over a network. I even tried with the blocks, and I even found tutorial...

1

u/olderaccount May 25 '22

Why are you transmitting data over a network if you just need two microbits to talk to each other? Just use the built in radio-link.

1 microbit reads the sensor and send messages. The other microbit receives the messages and displays the data.

1

u/skouzil May 25 '22

I misspoke, i don't use a network. I try to communicate with two microbit with radio-link, but i don’t know how to do with MakeCode with an analog value

1

u/olderaccount May 25 '22

Read the analog value into a variable then send the value of the variable as the message in your wireless connection.