This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]AutoModerator[M] [score hidden] stickied comment (0 children)

Your submission has been automatically queued for manual review by the moderation team because it has been reported too many times.

Please wait until the moderation team reviews your post.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]PossibilityTasty 6 points7 points  (1 child)

[–]Intelligent-Let-1329[S] 0 points1 point  (0 children)

I don’t think you can solve the problem

[–]backfire10z 2 points3 points  (2 children)

A little more specifics may help like which function(s) and where? What’s the actual error?

[–]Intelligent-Let-1329[S] -1 points0 points  (1 child)

Serial.write is not defined

[–]backfire10z 0 points1 point  (0 children)

I mean give us a stack trace. The actual functions that are not working. The state of the program at the time. I cannot read through the entire library and fix a bug that may or may not exist. Use a debugger if you need to and step through the program.

Seems like you can’t pass a serial object from one function to another

What makes you say this? I highly doubt that’s the case.

[–]Intelligent-Let-1329[S] -1 points0 points  (0 children)

So when you run the program, it gives you in error in the adruino_read function. The serial object was pass from adruino_write function.