Search found 6 matches

by soibac35
Thu Feb 07, 2019 3:35 pm
Forum: Programs, Libraries and Tools
Topic: How to send something through UART on ESP32 DEVKIT
Replies: 0
Views: 2110

How to send something through UART on ESP32 DEVKIT

Hello, I have looked around the forum but there no question on ESP32 DEVKIT uart. I want to have a simple application that will send AT command to another board from ESP32 DEVKIT and read whatever the other board response. I flashed esp32-20190125-v1.10.bin firmware. There are no uasyncio and I am u...
by soibac35
Thu Sep 14, 2017 5:26 pm
Forum: Development of MicroPython
Topic: How to load and compile python file when there are no system file ?
Replies: 0
Views: 1598

How to load and compile python file when there are no system file ?

Hello, So i try to load a script i wrote to a cortext M4 chip. The basic print and all are working, however, i cant get my add-on module to work due to no system file on the chip (using crossworks). i cant load the file using file name. Is there a way to do this. Here the code that i have: //load an...
by soibac35
Thu Sep 07, 2017 5:36 pm
Forum: Development of MicroPython
Topic: How to call C function in python code
Replies: 4
Views: 9815

Re: How to call C function in python code

so for the c_sample.c, do i need to flash it onto a chip before i can run it on terminal ?

if so, is there a way just to test it on console output without flashing it on chip ?
by soibac35
Wed Sep 06, 2017 8:38 pm
Forum: Development of MicroPython
Topic: How to call C function in python code
Replies: 4
Views: 9815

How to call C function in python code

Hi everyone, I am a bit new to micropython and python is general. So i have successfully call python functions in C code using micropython library. Now i want to do the other way around, calling C function in python code using micropython library. How would i do that ? Can someone give me an extreme...
by soibac35
Thu Aug 24, 2017 5:01 pm
Forum: Other Boards
Topic: How to have micro python interpreter running on a very simple function
Replies: 4
Views: 3882

Re: How to have micro python interpreter running on a very simple function

[quote="torwag"]Hi and welcome, I am not sure what you are trying to do. If you simply want to execute the python code, there is no need for tweaking and compiling. Simply install the latest firmware for your board and copy your python function in a file 'main.py'. The python interpreter on the boar...
by soibac35
Thu Aug 24, 2017 2:59 pm
Forum: Other Boards
Topic: How to have micro python interpreter running on a very simple function
Replies: 4
Views: 3882

How to have micro python interpreter running on a very simple function

Hi everyone, I am new to micropython and all. So i am trying to call a function in a .py file 10 time and display the result on the terminal. The python script is extremely simple : def hello: print("hello") I downloaded the micropython master folder on github, and using minimal makefile with some t...