Getting Started With ARDUINO UNO With Python Language | All In One Code

Поділитися
Вставка
  • Опубліковано 11 вер 2024

КОМЕНТАРІ • 18

  • @rashev7557
    @rashev7557 Рік тому +5

    ser = serial.Serial('COM4', 9600)
    Traceback (most recent call last):
    File "", line 1, in
    AttributeError: module 'serial' has no attribute 'Serial'
    help pls

    • @peanutbutter8242
      @peanutbutter8242 Рік тому

      same

    • @michelemincone1788
      @michelemincone1788 Рік тому +2

      Hello, I solved the problem.
      I uninstalled serial with:
      pip uninstall serial
      Then I installed pyserial:
      pip install pyserial
      Here's the first lines code:
      import serial
      import time
      ser = serial.Serial('COM5', 9600)
      print(ser.name) # This prints the port you have for your arduino, in my case COM5
      As you can see if you install 'pyserial' you still import serial.
      Let me know if you managed to solve this problem!

  • @sahilgupta5438
    @sahilgupta5438 3 роки тому +5

    but how we define the pin number of arduino at which led is connected

  • @rasas1235
    @rasas1235 2 дні тому

    Thanks my brother

  • @anokhautomation4453
    @anokhautomation4453 3 роки тому +5

    Nice tutorial 👍
    Please make more projects and tutorials with arduino python.

    • @anokhautomation4453
      @anokhautomation4453 3 роки тому

      Usually in micropython we have to import machine library and utime function??
      I think the (b )is builtin ?

  • @criticalgrower
    @criticalgrower 7 місяців тому

    I like it i m a noob and youre the first indian and the only i follow you re cool i don't know

  • @rohangurav255
    @rohangurav255 Місяць тому

    bro why you cant use python idle

  • @LWRYUP765
    @LWRYUP765 Місяць тому +1

    ODIONOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO HAHAHAHAHA

  • @costi7507
    @costi7507 2 роки тому +1

    it doesnt let me install the pip install seria
    \

  • @michealjames2591
    @michealjames2591 Рік тому +1

    what does b means

  • @vivekpereiraalbert1412
    @vivekpereiraalbert1412 4 місяці тому

    i think using pyfirmata is more simple than this

  • @IslamicStoriesbyRehan2129
    @IslamicStoriesbyRehan2129 8 місяців тому +1

    oo bahi hindi ma tutorial bana loo! apni oqat mat bhoolo

  • @hardcoregaming4118
    @hardcoregaming4118 2 роки тому +2

    Bhai hindi bolo