Skip to content

Serial Works...Code not running #3

@jmw7ch

Description

@jmw7ch

Hi first time user of this library and tic, so apologies for the ignorance. I first had an issue with device port. I resolved that (my pi port was ttyAMA0 vs ttyAMC0). Next I had a src issue "no module found" (see "picture 1") even though it was downloaded with ticlib and my code was in the same folder. I resolved that issue by changing my import statements (see "picture 2"). However, I think there is still a communication issue because my linear actuator will not run and the red light remains on my tic36v4. I also don't get an error when I run the second code. I can maunally run my actuator in the ticgui. I just want to be able to loop the up and down movement.
Can anyone help me? I really don't know what's wrong with my code. Apologies if I posted this in the wrong place.
Thanks,
J

Picture_1

picture_2
.

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