I have the grove beginner kit for arduino. Can it be controlled via python from usb or do I have to use something like a Grove Base Hat?
I mean, I know I can use something like this
https://github.com/thearn/Python-Arduino-Command-API but my question is if it is possible to use grove.py to use all the modules easily.
- I use the arduino uno, mega and seeeduino lotus to test the function. Then i follow
<LINK_TEXT text=“https://github.com/thearn/Python-Arduin … quirements”>https://github.com/thearn/Python-Arduino-Command-API#requirements</LINK_TEXT> to setup the system. But the python code is stuck @ board = Arduino(‘9600’). Uno flash memory is 32KB and mega is 256KB. For the seeeduino lotus, the flash memory is 32KB as well.
Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)] on win32
Type “help”, “copyright”, “credits” or “license” for more information.
from Arduino import Arduino
board = Arduino(‘9600’)
2. For the grove.py, it is used for grove base hat for raspberry pi. you can not use this one. thanks.