Search found 45 matches

by pmulvey
Wed Mar 10, 2021 2:52 pm
Forum: micro:bit boards
Topic: NRF24L01+ communicating with Microbit
Replies: 1
Views: 3953

NRF24L01+ communicating with Microbit

I have used the NRF24L01+ between two Arduinos. Has anyone managed to talk to the microbit using this module. Nordic tell me that if both radios use the Nordic Semiconductor’s Enhanced ShockBurst protocol (ESP) then all should be fine. I came across just one YouTube video where a guy does some simpl...
by pmulvey
Fri Feb 26, 2021 7:50 pm
Forum: Programs, Libraries and Tools
Topic: What is assembler?
Replies: 1
Views: 1094

What is assembler?

I am wondering are the assembler instructions begun with @micropython.asm_thumb the actual platform specific instructions or are they some sort of generic instruction set working on the Micropython interpreter at a very low level. I would image that the assembler instruction set would be quite diffe...
by pmulvey
Fri Aug 14, 2020 3:30 pm
Forum: General Discussion and Questions
Topic: i2c.readfrom timeout
Replies: 2
Views: 1875

i2c.readfrom timeout

I am talking to my Arduino from ESP8266 via i2c. The Arduino code can sometimes take up to 36mS to complete the code that responds to the i2c.readfrom command at the ESP. After a few transactions the ESP throws an error: File "IO.py", line 110, in read OSError: I2C bus error Does anyone know if ther...
by pmulvey
Sat Jul 04, 2020 7:21 pm
Forum: General Discussion and Questions
Topic: import issue
Replies: 1
Views: 1252

import issue

I have a module that I import after "from machine import I2C". The module code does not recognise the i2c name unless I put this line in the module as well. What's the explanation?
by pmulvey
Sun May 10, 2020 9:14 am
Forum: micro:bit boards
Topic: Radio not working
Replies: 2
Views: 3184

Re: Radio not working

Thanks lujo,

I had read about the complex packet issue before and forgot about it! I followed your link and at your advice I used Phil Hall's implementation. All seems good now for transmit and receive packets.
by pmulvey
Sat May 09, 2020 9:33 pm
Forum: micro:bit boards
Topic: Radio not working
Replies: 2
Views: 3184

Radio not working

I set up a Master / Slave arrangement using Makecode plus a small bit of Javascript, it works great. I then started to rewrite the Master in Micropython and the Slave receives no signal. I even tried looping through all of the channels but no joy. Before I get into details is there anything blinding...
by pmulvey
Tue May 05, 2020 8:34 am
Forum: micro:bit boards
Topic: Incorporating MyLib.py into the flashed hex file
Replies: 2
Views: 2994

Incorporating MyLib.py into the flashed hex file

I want to put together a large MyLib.py. Currently this kills the microbit once it passes a certain size throwing memory allocation and parser errors. It would be great if his library could be flashed and then allow the user to call it for their own smaller programs. I want to use the microbit to te...
by pmulvey
Mon May 04, 2020 9:15 pm
Forum: micro:bit boards
Topic: Memory allocation and parser errors
Replies: 1
Views: 2453

Memory allocation and parser errors

Just started micropython on the microbit having spent some time writing code for the Esp8266. With relatively small programs I'm getting memory allocation errors, and errors about the parser unable to handle scripts. Is micropython very limited on this platform compared to the Esp8266?
by pmulvey
Mon May 04, 2020 8:43 am
Forum: micro:bit boards
Topic: LCD driver for micro:bit
Replies: 1
Views: 3173

Re: LCD driver for micro:bit

I used your driver but whenever I wrote more that 10 characters on the LCD I got a Memory Allocation error. I tried using .mpy files instead but it appears that the microbit does not recognise these, reporting not found. Eventually I stripped out all of the variable declarations in your code and rep...
by pmulvey
Wed Apr 15, 2020 3:00 pm
Forum: General Discussion and Questions
Topic: My IDE configuration using Notepad++, ampy and Tera Term
Replies: 22
Views: 14060

Re: My IDE configuration using Notepad++, ampy and Tera Term

I downloaded the zipped binary but it will not connect to my ESP8266. Refresh seems to be doing something but nothing appears. I edited the xml file to launch my TeraTerm: <add key="TerminalApp" value="C:\Program Files (x86)\TeraTerm\ttermpro.exe"/> <add key="TerminalAppArgs" value="-serial COM4"/> ...