Skip to content

Problems with Cloud9 in reference to Issue #169 #182

@tomek242

Description

@tomek242

#169
When I try same code which I present in Issue #169 I have the same error like bmcilw1:

Your code is running at http://localhost.

Important: use os.getenv(PORT, 8080) as the port and os.getenv(IP, 0.0.0.0) as the host in your scripts!

Traceback (most recent call last):
  File "/var/lib/cloud9/my_python/test1.py", line 10, in <module>
    PWM.start(pin1,0)
RuntimeError: Problem with a sysfs file

Question: Why the same code in Python work when I wrote it in simply nano editor and does not work in IDE Cloud9?
Second thin is: how to set direction of PWM pins?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions