Search found 220 matches

by torwag
Tue Oct 08, 2019 12:57 pm
Forum: General Discussion and Questions
Topic: MicroPython on Casio fx-CG50 Questions?
Replies: 15
Views: 15102

Re: MicroPython on Casio fx-CG50 Questions?

Just to make it even more OT: There is droid48 on Android to completely emulate an HP48G.... I can see the fun factor of running micropython on a calculator, but can't see a real use of programming on the calculator. It might have it's case when you have to repeatedly rerun the same calculus, over a...
by torwag
Thu Sep 19, 2019 6:12 am
Forum: General Discussion and Questions
Topic: A call to help me learn code the right way on MicroPhyton
Replies: 10
Views: 7180

Re: A call to help me learn code the right way on MicroPhyton

Hi Martin, welcome to the forum and with that you might have taken the correct way to step in. Just to clarify there is nothing like "the organisation". Damien the founder of Micropython runs a small business selling pyboards. There are a few other small companies relying on Micropython. However, th...
by torwag
Fri Aug 30, 2019 5:58 am
Forum: Other Boards
Topic: [Arch_Mix/RT1052] Arch_Mix board with MicroPython
Replies: 1
Views: 1686

Re: [Arch_Mix/RT1052] Arch_Mix board with MicroPython

Hi, any "offical" port to a new SoC can be found in github in the folder ports https://github.com/micropython/micropython/tree/master/ports as far as I know the NXP RT1052 is not official. Thus, you would need to look out whether seeed published the fork they used to create that port. Ports are gene...
by torwag
Wed May 08, 2019 7:50 am
Forum: General Discussion and Questions
Topic: Micropython Language for VS Code
Replies: 7
Views: 7951

Re: Micropython Language for VS Code

It depends on what you want to achieve.

Just syntax or do you want to have a way to run the code directly on a connected uC?

You might want to look into platformio, which works together with VS code and afaik they work on micropython support. There is a plugin already.
by torwag
Wed Feb 27, 2019 3:44 pm
Forum: General Discussion and Questions
Topic: How to include driver into micropython compilation
Replies: 21
Views: 64720

Re: How to include driver into micropython compilation

Hi, I think you need to make yourself more clear what you want to achieve. There are basically two things... 1. Compile a micropython firmware including some drivers... that is on a C-level compiling stuff in the same way you compile any other firmware. 2. Using some python modules to access drivers...
by torwag
Mon Jan 07, 2019 9:50 am
Forum: ESP8266 boards
Topic: An ESP8266 Can't Monitor Serial Connection
Replies: 7
Views: 7326

Re: Can Anyone Direct Me to I/O Serial Monitoring Example

So essentailly, you want to replace the RPi by an ESP running micropython? modem--serial-->ESP--GPIO-->relay The usb uart is not required as soon as your code is working right? It will be an autark system based on the following scheme. Modem: sends serial logs ESP: analyse serial logs depending on r...
by torwag
Mon Jan 07, 2019 8:30 am
Forum: ESP8266 boards
Topic: An ESP8266 Can't Monitor Serial Connection
Replies: 7
Views: 7326

Re: Can Anyone Direct Me to I/O Serial Monitoring Example

So, reading again, I guess you have the following situation modem--serial-->PC---usb(serial)-->esp-->ESP-->relay in that case what you want to do is to rewrite the bouncer.py (which will be started on the PC!) to use the ESP to switch the relay thats all. In detail all you need to do is to redefine ...
by torwag
Mon Jan 07, 2019 8:10 am
Forum: ESP8266 boards
Topic: An ESP8266 Can't Monitor Serial Connection
Replies: 7
Views: 7326

Re: Can Anyone Direct Me to I/O Serial Monitoring Example

Hi, not yet 100% sure what you are trying to achive. You want to switch on and off a modem depending on a certain state via a relay based on an esp? From where do you get the status? Where and how is the modem connected? For me it sounds like all you want is to use the esp as a serial connection-tri...
by torwag
Sun May 20, 2018 2:41 pm
Forum: ESP8266 boards
Topic: ESP8266 - micropython global variable does not work
Replies: 7
Views: 12693

Re: ESP8266 - micropython global variable does not work

Hi, the problem is namespacing. The isledOn variable is defined once in the root name space and in functions. Thus, you actually have two different variables here, which simply have the same name. What you want to do, is to create a global variable. They are usually a bad idea, as they quickly can c...
by torwag
Thu May 03, 2018 2:10 pm
Forum: Other Boards
Topic: [NUCLEO-L476RG/STM32L476RGT6]Pin Association and DAC Error
Replies: 7
Views: 5576

Re: [NUCLEO-L476RG/STM32L476RGT6]Pin Association and DAC Error

Hi, you might go to github to read in the source code files what is available and what is the pin assignment. E.g. https://github.com/micropython/micropython/tree/master/ports/stm32/boards/NUCLEO_L476RG Each board has a pin.csv file which depicts the relation between the physical pins and the naming...