Search found 21 matches

by Marius
Fri Jul 08, 2022 7:48 pm
Forum: General Discussion and Questions
Topic: Controlling micropython board from desktop computer
Replies: 13
Views: 5081

Re: Controlling micropython board from desktop computer

I can control the TMC5160 board via the micropython repl. But i want to control it from some python3 code i run on my desktop. With pyserial or whatever. My desktop can be apple, win, ubuntu Yes, you can do this with pyserial. Note that MicroPython includes a tool "pyboard.py" that uses pyserial to...
by Marius
Thu Jul 07, 2022 4:10 pm
Forum: General Discussion and Questions
Topic: Controlling micropython board from desktop computer
Replies: 13
Views: 5081

Re: Controlling micropython board from desktop computer

IMG_20220707_180529(2).jpg Let me explain. This is my BOB BOB BOBS MOTHER BOARD. Its a RP2040 board for holding a Trinamic TMC5160 BOB(break out board). I can control the TMC5160 board via the micropython repl. But i want to control it from some python3 code i run on my desktop. With pyserial or wh...
by Marius
Sun Apr 10, 2022 1:55 pm
Forum: General Discussion and Questions
Topic: Controlling micropython board from desktop computer
Replies: 13
Views: 5081

Controlling micropython board from desktop computer

I want to control a micropython rp2040 board from my desktop computer. Are there any good write ups for how to do this with pyserial or anything else?
by Marius
Fri Oct 16, 2020 1:54 pm
Forum: General Discussion and Questions
Topic: My functions asks for 3 arguments. But its suppose to be only 2?
Replies: 2
Views: 1756

Re: My functions asks for 3 arguments. But its suppose to be only 2?

pythoncoder wrote:
Fri Oct 16, 2020 1:19 pm
See the docs. The spi.write_readinto method takes two args, you provided only one.

Note that self counts as one arg, which is why the error message refers to 3 args. It is seeing self and ba so is getting 2 args instead of the required 3.
Got it! Thanks! :D
by Marius
Fri Oct 16, 2020 12:50 pm
Forum: General Discussion and Questions
Topic: My functions asks for 3 arguments. But its suppose to be only 2?
Replies: 2
Views: 1756

My functions asks for 3 arguments. But its suppose to be only 2?

What am i missing here?
code.png
code.png (25.04 KiB) Viewed 1755 times
function.png
function.png (29.06 KiB) Viewed 1755 times
by Marius
Sat Jun 13, 2020 1:29 pm
Forum: ESP32 boards
Topic: Esp32-S2 port
Replies: 4
Views: 4969

Esp32-S2 port

Anyone know if anyone's working on this? Or does anyone want to work on it?

Marius
by Marius
Sun Mar 08, 2020 10:51 pm
Forum: Drivers for External Components
Topic: Receive and transmit IR remote codes
Replies: 32
Views: 33257

Re: Receive and transmit IR remote codes

I have released this repo which supports infra red remote controls. Protocols supported are NEC, Sony, and two Philips options. A receiver and "blaster" driver are provided. Both are nonblocking. They are not reliant on uasyncio but are compatible with it. The transmitter is Pyboard specific. A tra...
by Marius
Sun Mar 08, 2020 10:49 pm
Forum: General Discussion and Questions
Topic: MicroPython using a Virtual Machine?
Replies: 8
Views: 5178

Re: MicroPython using a Virtual Machine?

Hear me out here. I came to ask if Micropython was capable of being run on a Windows/Linux virtual machine. What i mean by this is, is there a way I can take the essential backend ROM or init code to set up μPy itself into an ISO, and package it snd run it on a virtualbox? And run it like it is an ...
by Marius
Fri Feb 21, 2020 7:22 am
Forum: ESP32 boards
Topic: Booting board at 20mhz.
Replies: 2
Views: 1952

Re: Booting board at 20mhz.

You should be able to do that yes :)
by Marius
Wed Feb 19, 2020 8:29 pm
Forum: ESP32 boards
Topic: Booting board at 20mhz.
Replies: 2
Views: 1952

Booting board at 20mhz.

I know how to change the board frequency after its booted. But how do i make it boot up at 20mhz?