Skip to content
This repository was archived by the owner on Oct 17, 2020. It is now read-only.
This repository was archived by the owner on Oct 17, 2020. It is now read-only.

Python script not working #1

@cedoche

Description

@cedoche

Hi,
I tried to run the example.py code but the code does not seems to be working.
I would like to set PWM on pin 12/GPIO 18.

When I run this command line in the terminal, it works fine: echo "18=0.5" > /dev/pi-blaster

Then I tried to run a simple python script:
from pythonSB import *
#servo_set(12, "1800us")
In that case, nothing happens. (The code is running but the PWM is not changing)

Any idea of the problem?

I can see the PWM value by using an oscioscope connected to GPIO 18.

Many thanks for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions