Yahoo India Web Search

Search results

  1. Dec 30, 2021 · Okay. So I'm still working on it but I have progress (I think). I used [1] to help me download the necessary program to use "make" and [2] to help me resolve an issue with cmake (which I also had to download).

  2. MicroPython Forum The MicroPython Language General Discussion and Questions How to get the file size General discussions and questions abound development of code with MicroPython that is not hardware specific.

  3. Feb 27, 2020 · Basically, I use the Pyboard to read a Pentiometer on Input X19 and I wanto to send the read value via UART to a Host (PC, or, later a Raspberry PI) where a Python script is polling the serial interface. PyBoard Code is: Code: Select all. # main.py -- put your code here! from pyb import Pin, ADC, UART, LED. import time.

  4. May 18, 2019 · Mu-editor will plot results from any micropython that has USB REPL. just print your results as a tuple and Mu will plot values on the y axis and time on the x axis. Have you tried writing your results to a file in csv format and plotting that? piotrmichna. Posts: 7. Joined: Sat Jun 25, 2022 4:12 am.

  5. Jan 28, 2021 · Code: Select all. class ModemConfig(Enum): Bw125Cr45Sf128 = (0x72, 0x74, 0x04) Bw500Cr45Sf128 = (0x92, 0x74, 0x04) Bw31_25Cr48Sf512 = (0x48, 0x94, 0x04) Bw125Cr48Sf4096 = (0x78, 0xc4, 0x0c) I guess I could replace with an if elif but was wondering if there was a neater way? Thank you.

  6. Apr 5, 2020 · Hi. New to MicroPython, this forum and have my new PyBoard. I've gotten quite a bit of code written for using a rotary encoder and 4x20 LCD display and am now to the point of wanting to store a small list of 3 integers in a file on flash. I've used the json method that I've found here on the forum and it works great to write and read the file.

  7. Apr 9, 2022 · Hi MP forum users, I'm wondering how MicroPython handles the dual-core function from the ESP32. Since usually the network tasks run on core 0, and basically any other tasks on core 1 (user program). The user can obviously decide to add more functions to each core, but I'm wondering how this is handled within MicroPython.

  8. Mar 27, 2020 · Re: example BLE micropython. by BikerMark » Thu Jan 21, 2021 4:57 pm. @HexVitor thnx for sharing, your code worked well for me! One typo I found in the IRQ and share here for anyone to come by: Code: Select all. elif event == 4: should be: Code: Select all. elif event == 3:

  9. May 25, 2019 · Based on this comment in mpconfigport.h I would think I could just set MICROPY_ENABLE_COMPILER to 0 to prevent REPL since all my modules are frozen, but it isn't working: Code: Select all. // You can disable the built-in MicroPython compiler by setting the following. // config option to 0. If you do this then you won't get a REPL prompt, but ...

  10. Jan 17, 2016 · Re: best approach for an application config file. by pythoncoder » Sun Jan 17, 2016 5:53 pm. My preferred option is pickle (in the micropython library). Unlike (u)json all native Python data types are supported. The principal drawback is security: if the pickled file can be modified by ill-intentioned people they can force the execution of ...

  1. People also search for