Search found 18 matches

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: 127

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: 127

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 126 times
function.png
function.png (29.06 KiB) Viewed 126 times
by Marius
Sat Jun 13, 2020 1:29 pm
Forum: ESP32 boards
Topic: Esp32-S2 port
Replies: 2
Views: 581

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: 10
Views: 2368

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: 1008

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: 409

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: 409

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?
by Marius
Wed Feb 19, 2020 8:26 pm
Forum: ESP32 boards
Topic: IR transmitter/receiver
Replies: 26
Views: 5542

Re: IR transmitter/receiver

Ive done it. Works great. Im just saving the timing values and replaying them with pwm 38khz and an ir led.
by Marius
Mon Feb 10, 2020 6:54 pm
Forum: General Discussion and Questions
Topic: Saving power on ESP32, running on single core and memory speed
Replies: 1
Views: 361

Saving power on ESP32, running on single core and memory speed

Is it possible to shut down one of the cores in Micropython for the ESP32? And or clock down the memory speed? I know its possible to turn down the clock speed and that helps alot to save power. But would be great to see if its possible to save more. (Not for battery setup, btw)
by Marius
Sat Feb 08, 2020 7:11 am
Forum: Programs, Libraries and Tools
Topic: Software based IR decoding, and sending, my first public git rep
Replies: 4
Views: 656

Re: Software based IR decoding, and sending, my first public git rep

pythoncoder wrote:
Fri Feb 07, 2020 6:58 pm
There is a MicroPython decoder for NEC IR remotes in this repo.
Thanks Peter. Cant seem to get it to work. Here is the output.

Invalid start pulse Address: 0x0
Invalid start pulse Address: 0x0
Invalid start pulse Address: 0x0
Error: overrun Address: 0x0 <--- When i press the remote