Haha, mostly what I do when answering MicroPython questions on stackoverflow is suggest people come here.
I'm not familiar with defining decorators (I'm sure it's something I should learn) but is this an example of User-defined attributes for functions are not supported?
Search found 37 matches
- Thu Apr 14, 2022 8:45 am
- Forum: General Discussion and Questions
- Topic: AttributeError: 'function' object has no attribute '__name__
- Replies: 3
- Views: 3675
- Wed Apr 13, 2022 10:53 am
- Forum: General Discussion and Questions
- Topic: ESP32 Custom PCB design
- Replies: 16
- Views: 10553
Re: ESP32 Custom PCB design
Is anything in that document relevant to using a module such as the WROVER? The second "Standalone ESP32 Module" made me wonder if for example I must use a four-layer design. I had hoped to place a WROVER on a two-layer board. The WROVER is a standalone ESP32 module, so that document explains how t...
- Tue Apr 05, 2022 10:34 am
- Forum: ESP8266 boards
- Topic: WIFI problems and wlan.status
- Replies: 1
- Views: 2014
Re: WIFI problems and wlan.status
These are constants defined by the network module. So if the result of WLAN.status() is equal to network.STAT_GOT_IP you have successfully connected, and so on.
- Tue Apr 05, 2022 9:36 am
- Forum: General Discussion and Questions
- Topic: ESP32 Custom PCB design
- Replies: 16
- Views: 10553
Re: ESP32 Custom PCB design
Do you want to design your own PCB for a bare ESP32 chip? I'm not an expert but I suspect that is in the category of 'if you need to ask, it's probably outside your capabilities'. If you just need to save some space by integrating an ESP32 module with some support circuitry, I think the answer to yo...
- Thu Jan 06, 2022 2:27 pm
- Forum: General Discussion and Questions
- Topic: Append mode isn't available for files
- Replies: 0
- Views: 15440
Re: Append mode isn't available for files
What platform are you running MicroPython on?
- Wed Jan 05, 2022 5:05 pm
- Forum: General Discussion and Questions
- Topic: Is there a lcd_seg library ?
- Replies: 5
- Views: 15093
Re: Is there a lcd_seg library ?
Do you have a specific LCD in mind, and what board are you running MicroPython on (and how many GPIOs will you have available)?
- Wed Jan 05, 2022 5:01 pm
- Forum: General Discussion and Questions
- Topic: Calculate percent value
- Replies: 13
- Views: 31089
Re: Calculate percent value
Rounding sometimes gives you more "significant" digits than the stated rounding parameter. Python's round calculates the result of rounding the input to the specified number of decimal places , not significant figures. If you want to round to significant figures there are several methods suggested ...
- Tue Apr 27, 2021 7:36 pm
- Forum: Programs, Libraries and Tools
- Topic: Micropython Google sheets
- Replies: 3
- Views: 2955
Re: Micropython Google sheets
It looks as if you should be able to detect the condition on your Google sheet with IFTTT, then you might be able to notify your MicroPython code via some other service?
- Tue Mar 30, 2021 12:20 pm
- Forum: General Discussion and Questions
- Topic: RFC Hardware Choices
- Replies: 5
- Views: 2307
Re: RFC Hardware Choices
Yes, sounds like a good project and the Pico sounds like a good board. Developing everything on breadboard with logic level voltages first is a good idea. If you aren't already familiar with this, you'll want to learn sooner rather than later how to protect the inputs, outputs and power supply of yo...
- Tue Mar 30, 2021 12:09 pm
- Forum: General Discussion and Questions
- Topic: if statement short circuiting
- Replies: 9
- Views: 4021
Re: if statement short circuiting
Well, MATLAB has short-circuiting and non-short-circuiting versions of the logical operators: x = false && undefined executes without an error, but x = false & undefined fails. (The non-short-circuiting version can operate on array as well as scalar inputs - and it does short-circuit if it's in the ...