Search found 2066 matches

by jimmo
Mon Jan 11, 2021 12:14 am
Forum: General Discussion and Questions
Topic: Sending data from mobile device to micropython device over bluetooth
Replies: 8
Views: 473

Re: Sending data from mobile device to micropython device over bluetooth

I want to send configuration data to this device from a mobile phone. I have the UART example working but is this the only option or is there another non-UART option? If you want to send configuration data then I suspect a UART (or L2CAP) are overkill. You can define a characteristic that you can r...
by jimmo
Mon Jan 11, 2021 12:09 am
Forum: General Discussion and Questions
Topic: bluetooth module not found
Replies: 1
Views: 197

Re: bluetooth module not found

I am currently using a B-L475E-IOT01A1 from STMicroelectronics! Thank you! MicroPython does not currently support BLE on that board. On the STM32 port, we support BLE in two ways: - IPCC to a second BLE core (e.g. STM32WB55) - External HCI controller over UART (e.g. the PYBD has a Broadcom BT contr...
by jimmo
Mon Jan 11, 2021 12:04 am
Forum: ESP32 boards
Topic: BLE doesn't work on APPinventor?
Replies: 1
Views: 232

Re: BLE doesn't work on APPinventor?

I try to use the bluetooth Module with Appinventor BLE, but it doesn't works? I saw someone (maybe you?) sent a PR showing an Appinventor example -- https://github.com/micropython/micropython/pull/6735 -- Does that give any hints? I can't seem to load your code from that URL. The ubluetooth module ...
by jimmo
Sun Jan 10, 2021 11:46 pm
Forum: Other Boards
Topic: [STM32H750VBT6 ] firmware.elf section `.eth_buffers' will not fit in region `RAM_D2'
Replies: 1
Views: 209

Re: [STM32H750VBT6 ] firmware.elf section `.eth_buffers' will not fit in region `RAM_D2'

i want to compile micropython for this proc STM32H750 who is on MCUDev DevEBox. i have found a complied micropython for this board but i want to compile it myself to update version. i can compile all stm32 board with almost no problem but for this board i have this error: Which board definition are...
by jimmo
Sun Jan 10, 2021 11:40 pm
Forum: ESP32 boards
Topic: machine.SDCard(slot=3) defaults
Replies: 6
Views: 933

Re: machine.SDCard(slot=3) defaults

I think the defaults used for slot=3 are #define SDSPI_SLOT_CONFIG_DEFAULT() {\ .gpio_miso = GPIO_NUM_2, \ .gpio_mosi = GPIO_NUM_15, \ .gpio_sck = GPIO_NUM_14, \ .gpio_cs = GPIO_NUM_13, \ .gpio_cd = SDSPI_SLOT_NO_CD, \ .gpio_wp = SDSPI_SLOT_NO_WP, \ .gpio_int = GPIO_NUM_NC, \ .dma_channel = 1 \ } It...
by jimmo
Sun Jan 10, 2021 11:35 pm
Forum: micro:bit boards
Topic: library on Mu 1.0.3
Replies: 1
Views: 640

Re: library on Mu 1.0.3

I have downloaded a library named: Tinybit MicroPython Library. How to use it with MicroPython Mu 1.0.3? Hi, I think the idea is that you use their custom .hex file, which will include the tinybit module. You can get the .hex file from https://www.yahboom.net/study/Tiny:bit (specifically https://ww...
by jimmo
Sun Jan 10, 2021 11:25 pm
Forum: ESP32 boards
Topic: ws2811 driving?
Replies: 1
Views: 240

Re: ws2811 driving?

Whats the differense between esp.neopixel_write and NeoPixel object? What is "grb_buf"? Is "is800khz" bool value or what? esp.neopixel_write is the underlying function (written in C) that does the timing-sensitive signal generation. grb_buf is the pixel data to write. is800khz can be True/False or ...
by jimmo
Sun Jan 10, 2021 11:21 pm
Forum: MicroPython pyboard
Topic: Pyboard.py raw repl bug
Replies: 2
Views: 258

Re: Pyboard.py raw repl bug

zaord wrote:
Fri Dec 11, 2020 11:46 am
I need to reset the Pyboard to have the script running right again.
I wonder if you need to explicitly close the connection at the end of the script?

Code: Select all

pyb.close()
(I would have assumed Windows would do this for you on termination, but worth trying)
by jimmo
Sun Jan 10, 2021 11:19 pm
Forum: General Discussion and Questions
Topic: Rodata, BSS, Text, Heap Memory
Replies: 1
Views: 221

Re: Rodata, BSS, Text, Heap Memory

it does not give me the exact values for the RoData, BSS, Text which I need I'm not quite sure what you're trying to do, but if you want to be able to access memory, the machine.mem8 (and mem16, mem32) API might be useful. However, you still have to know where the .rodata, .bss and .text segments a...