Search found 9 matches
- Sun Apr 11, 2021 6:41 pm
- Forum: micro:bit boards
- Topic: Program that reads max. min. analog is raining. Micropython micro: bit How to optimize this code?
- Replies: 7
- Views: 19939
Re: Program that reads max. min. analog is raining. Micropython micro: bit How to optimize this code?
Ok. Now I understand what's going on. Thanks for the clarification.
- Sat Apr 10, 2021 5:33 pm
- Forum: micro:bit boards
- Topic: Program that reads max. min. analog is raining. Micropython micro: bit How to optimize this code?
- Replies: 7
- Views: 19939
Re: Program that reads max. min. analog is raining. Micropython micro: bit How to optimize this code?
Thanks to colleague deshipu's suggestions on another forum, I was able to shorten the code to a satisfactory level. By the way, it came in handy when I changed the voltage from 3.3V to 5V for the servo. I forgot about it and connected the joystick. The X and Y ranges as well as the neutral position ...
- Sat Apr 10, 2021 8:43 am
- Forum: micro:bit boards
- Topic: Program that reads max. min. analog is raining. Micropython micro: bit How to optimize this code?
- Replies: 7
- Views: 19939
Re: Program that reads max. min. analog is raining. Micropython micro: bit How to optimize this code?
What do you mean they are noisy?
- Sat Apr 10, 2021 7:42 am
- Forum: micro:bit boards
- Topic: Program that reads max. min. analog is raining. Micropython micro: bit How to optimize this code?
- Replies: 7
- Views: 19939
Re: Program that reads max. min. analog is raining. Micropython micro: bit How to optimize this code?
The joystick I am using now for testing has a range of 4 - 1023 on both axes.
- Sat Apr 10, 2021 7:40 am
- Forum: micro:bit boards
- Topic: Program that reads max. min. analog is raining. Micropython micro: bit How to optimize this code?
- Replies: 7
- Views: 19939
Re: Program that reads max. min. analog is raining. Micropython micro: bit How to optimize this code?
Hi, Yes. I would like to use the code as a function for various joysticks used in my projects. With its help, I want to define the full range of values given to the microcontroller, any connected joystick. The Y axis of the joystick is wired to pin0 and the X axis is wired to pin1. The joystick bu...
- Fri Apr 09, 2021 8:31 am
- Forum: micro:bit boards
- Topic: Program that reads max. min. analog is raining. Micropython micro: bit How to optimize this code?
- Replies: 7
- Views: 19939
Program that reads max. min. analog is raining. Micropython micro: bit How to optimize this code?
Hi, I would like to ask colleagues with more experience for their opinion. I am at the stage of reading the value of the analogue pads in micropython on the micro: bit platform. Can this code be shortened? I want to determine and save (for later use) in this code the zero position of the joystick, a...
- Thu Mar 25, 2021 6:48 pm
- Forum: micro:bit boards
- Topic: LCD 1.8" with GC9106 will it work with microbit ?
- Replies: 6
- Views: 11231
Re: LCD 1.8" with GC9106 will it work with microbit ?
Hello, microbit v2 it has 128KB of RAM and 512KB flash. At least as per specification https://tech.microbit.org/hardware/ . Version 1.5 it has 32KB of RAM and 256KB flash. I'll be in touch with a @mcauser about this Waveshare display. Because I can have him at home on Saturday. Thank you for your he...
- Thu Mar 25, 2021 6:48 am
- Forum: micro:bit boards
- Topic: LCD 1.8" with GC9106 will it work with microbit ?
- Replies: 6
- Views: 11231
Re: LCD 1.8" with GC9106 will it work with microbit ?
Thank you for your answer pythoncoder. I will buy a different display. What do you think about the waveshare product from this link https://www.waveshare.com/wiki/1.8inch_LCD_for_micro:bit ? It is easily available in Poland at a reasonable price. Can you recommend me any website with exercises for L...
- Tue Mar 23, 2021 6:16 pm
- Forum: micro:bit boards
- Topic: LCD 1.8" with GC9106 will it work with microbit ?
- Replies: 6
- Views: 11231
LCD 1.8" with GC9106 will it work with microbit ?
Hi people,
I have microbit v2. I bought such a display for https://pl.aliexpress.com/item/40011958 ... 5c0fu9fq17. Will it work with microbit v2? Where can I find a library for it?
Thanks for any help.
I have microbit v2. I bought such a display for https://pl.aliexpress.com/item/40011958 ... 5c0fu9fq17. Will it work with microbit v2? Where can I find a library for it?
Thanks for any help.