Search found 6 matches

by csanyipal
Sun May 12, 2019 8:21 am
Forum: General Discussion and Questions
Topic: How to send with radio a numerical value of a variable? [SOLVED]
Replies: 5
Views: 4746

Re: How to send with radio a numerical value of a variable?

All right!
Then I won't change the code.

Thank you very much!
by csanyipal
Sun May 12, 2019 8:19 am
Forum: General Discussion and Questions
Topic: Can the display.scroll () function be slowed down? [SOLVED]
Replies: 2
Views: 4041

Re: Can the display.scroll () function be slowed down?

Thank you very much for pointing me into the right direction.
I learn now how the microbit.display.scroll(string, delay=150, *, wait=True, loop=False, monospace=False) module works.
I am using this code now:

Code: Select all

display.scroll(str(speed), delay=500, wait=True, monospace=True)
by csanyipal
Sun May 12, 2019 6:11 am
Forum: General Discussion and Questions
Topic: How to send with radio a numerical value of a variable? [SOLVED]
Replies: 5
Views: 4746

How to send with radio a numerical value of a variable? [SOLVED]

Hello, I have two micro:bit's: 'mb1' and 'mb2'. mb2 count steps and measures time. mb1 starts these processes on mb2 by sending a radio signal as a string, and after ten seconds mb1 receives a radio signal from mb2, which contains a numerical value ( the counted steps ) which is an integer type. Aft...
by csanyipal
Sun May 12, 2019 4:48 am
Forum: General Discussion and Questions
Topic: Can the display.scroll () function be slowed down? [SOLVED]
Replies: 2
Views: 4041

Can the display.scroll () function be slowed down? [SOLVED]

Hello,

can the display.scroll () function be slowed down?

In some cases it is very fast so one can't read say a decimal number scrolled on the 5x5 LED display on a micro:bit out there.
by csanyipal
Sat May 11, 2019 7:05 pm
Forum: General Discussion and Questions
Topic: Timer with micro:bit? [SOLVED]
Replies: 6
Views: 42433

Re: Timer with micro:bit?

Thank you very much for pointing me into the right direction! I learn from the documentation how to use utime, radio and microbit : for buttons, display and movements. mb1 and mb2 will be used booth with battery pack. The code snippet is this: step = 0 now = int(utime.ticks_ms() / 1000) while True: ...
by csanyipal
Sat May 11, 2019 10:57 am
Forum: General Discussion and Questions
Topic: Timer with micro:bit? [SOLVED]
Replies: 6
Views: 42433

Timer with micro:bit? [SOLVED]

Hi, recently we got micro:bits at school. We are working on a project that uses two micro:bit's: mb1 and mb2. One micro:bit - the mb2 - should do the followings: when it receives a message from the other micro:bit - namely 'mb1', then the 'mb2' must to start a timer which count from 1 to 10. During ...