Search found 11 matches
- Sun Aug 02, 2015 11:21 pm
- Forum: Other Boards
- Topic: Best way to write complex code STM32FDIC
- Replies: 1
- Views: 2743
Best way to write complex code STM32FDIC
Hi team When writing code with micropython and debugging it, which would be the best way, from your experience , to do it? I have read that it can be done in two ways ,write an script and then load it to they pyboard using pyboard.py or use an SD card. But, if you do this how can you debug your prog...
- Sun Aug 02, 2015 11:11 pm
- Forum: Other Boards
- Topic: STM32F4DISCOVERY Setting GPIOs and Modules
- Replies: 17
- Views: 20136
Re: STM32F4DISCOVERY Setting GPIOs and Modules
I got :
julio@julio-virtual-machine:~/workspace_micropython$ python2 usb-ser-mon.py -v -lpyudev version = 0.16.1
echo = 0
USB Serial Device with vendor 'Micro_Python' serial '000000000011' found @/dev/ttyACM0
julio@julio-virtual-machine:~/workspace_micropython$ python2 usb-ser-mon.py -v -lpyudev version = 0.16.1
echo = 0
USB Serial Device with vendor 'Micro_Python' serial '000000000011' found @/dev/ttyACM0
- Sun Aug 02, 2015 5:21 pm
- Forum: Other Boards
- Topic: STM32F4DISCOVERY Setting GPIOs and Modules
- Replies: 17
- Views: 20136
Re: STM32F4DISCOVERY Setting GPIOs and Modules
Hi Dave I tried your program and it works great. thanks I have an issues though with the ttyAMC0 port when I run screen or picocom still. I was wondering if you may have some other suggestions on how to fix it. I get the following error message : FATAL: cannot open /dev/attyAMC0: No such file or dir...
- Sat Aug 01, 2015 11:01 pm
- Forum: Other Boards
- Topic: STM32F4DISCOVERY Setting GPIOs and Modules
- Replies: 17
- Views: 20136
Re: STM32F4DISCOVERY Setting GPIOs and Modules
The way to run it is from the termina, when ever I want to close the serial port? I ran it using python2 usb-ser-mon.py and got the following julio@julio-virtual-machine:~/workspace_micropython$ python2 usb-ser-mon.py USB Serial device with vendor 'Micro_Python' serial '000000000011' connected @/dev...
- Sat Aug 01, 2015 9:02 pm
- Forum: Other Boards
- Topic: STM32F4DISCOVERY Setting GPIOs and Modules
- Replies: 17
- Views: 20136
Re: STM32F4DISCOVERY Setting GPIOs and Modules
Guys one more questions, Which is the correct way of exiting the REPL window. Every thim I exit by closing the window and try to reenter by typing sudo screen /dev/ttyAMC0 I get a : /dev/ttyACM0 no such file or directory error message
Thanks again
Thanks again
- Sat Aug 01, 2015 4:02 pm
- Forum: Other Boards
- Topic: STM32F4DISCOVERY Setting GPIOs and Modules
- Replies: 17
- Views: 20136
Re: STM32F4DISCOVERY Setting GPIOs and Modules
Hi guys
Thanks for your help!!! apparently everything is working and I've done my first "hallow world"
Thanks for your help!!! apparently everything is working and I've done my first "hallow world"
- Sat Aug 01, 2015 1:06 am
- Forum: Other Boards
- Topic: STM32F4DISCOVERY Setting GPIOs and Modules
- Replies: 17
- Views: 20136
Re: STM32F4DISCOVERY Setting GPIOs and Modules
Hi I try using python tools/pyboard.py test.py ( since test is in micropython directory) and I got the following: julio@julio-virtual-machine:~/micropython$ python tools/pyboard.py test.py File "tools/pyboard.py", line 211 ret = self.exec('print({})'.format(expression)) ^ SyntaxError: invalid syntax...
- Fri Jul 31, 2015 10:48 pm
- Forum: Other Boards
- Topic: STM32F4DISCOVERY Setting GPIOs and Modules
- Replies: 17
- Views: 20136
Re: STM32F4DISCOVERY Setting GPIOs and Modules
Thanks Now, I read that to run the script you use pyboard.py but when I try to run it to load test.py to the STM324FDiscovery get the following: julio@julio-virtual-machine:~/micropython/tools$ python pyboard.py test.py File "pyboard.py", line 139 ret = self.exec('print({})'.format(expression)) ^ Sy...
- Fri Jul 31, 2015 6:23 pm
- Forum: Other Boards
- Topic: STM32F4DISCOVERY Setting GPIOs and Modules
- Replies: 17
- Views: 20136
Re: STM32F4DISCOVERY Setting GPIOs and Modules
Thanks for your help
So lets say I want to turn the GREE_LED, what would be the right way to do it?
So lets say I want to turn the GREE_LED, what would be the right way to do it?
- Tue Jul 28, 2015 9:36 pm
- Forum: Other Boards
- Topic: STM32F4DISCOVERY Setting GPIOs and Modules
- Replies: 17
- Views: 20136
STM32F4DISCOVERY Setting GPIOs and Modules
Hi guys I'm new using microphyton, I'm using the STM32F4DISCOVERY board, I hanted to know how can I interact with the different GPIO's on the board, for example toggleling one of the LEDs on the board. the code I have found so far is related to the Micropython board. Can you gide me on how to set th...