Python, MicroPython...
 
Notifications
Clear all

Which (if any) of these Python-related topics do you find interesting? Poll is created on Feb 16, 2021

  
  
  
  
  

Python, MicroPython, CircuitPython

154 Posts
31 Users
65 Likes
5,585 Views
Ron
 Ron
(@zander)
Famed Member
Joined: 2 years ago
Posts: 3403
 

@jasline123 Have you heard of Google?

Screen Shot 2022 09 10 at 16.16.51

 

"Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon


   
ReplyQuote
robotBuilder
(@robotbuilder)
Noble Member
Joined: 3 years ago
Posts: 1554
 

@zander 

I think he needs a working example written in circuit python.  I haven't been able to find such an example. 

 


   
ReplyQuote
robotBuilder
(@robotbuilder)
Noble Member
Joined: 3 years ago
Posts: 1554
 

@jasline123 

As an alternative to OpenCV perhaps openMV
https://openmv.io/
If you have CircuitPython 7.3.3
This is the latest stable release of CircuitPython that will work with the OpenMV H7.
https://circuitpython.org/board/openmv_h7/

 


   
ReplyQuote
VE1DX
(@ve1dx)
Estimable Member
Joined: 3 years ago
Posts: 154
 

Has anyone done any amount of Python programming on an Arduino? I have been fooling around with an Arduino Nano on a Mac. I got the ubiquitous 'Blink' to work using pycharm (and the standard Python IDE 3.9.).

- Paul VE1DX

 

# My First python program to run on an Arduino Nano

import pyfirmata
import time

board = pyfirmata.Arduino('/dev/cu.usbserial-141110')

it = pyfirmata.util.Iterator(board)
it.start()
x = board.get_pin('d:13:o')
while True:
    x.write(1)
    time.sleep(1)
    x.write(0)
    time.sleep(1)

   
ReplyQuote
Page 11 / 11