Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with ports #6

Open
AEMLL opened this issue Oct 25, 2022 · 2 comments
Open

Problem with ports #6

AEMLL opened this issue Oct 25, 2022 · 2 comments

Comments

@AEMLL
Copy link

AEMLL commented Oct 25, 2022

I am on a windows PC and struggling to open the counter simulation on Vbuddy. The problem I am facing is that the file vbuddy.cpp throws an error when executing the function vbdOpen(), but still says that it has established connection with the Vbuddy afterwards. The Vbuddy does NOT show the 7-seg counter or the header Lab 1 Counter, but the screen goes dark.

I also tried unplugging the vbuddy and running the simulation and it still gave me the same result. I'm not sure what is happening.

port_issue.txt

@pykc
Copy link

pykc commented Oct 26, 2022

I assume that you have the port specified in the file: vbuddy.cfg. One common mistake is that there needs to be a CR LF at the end. That is, the text file must not only have one line. Add an empty line underneath the port name. See if it works.

@rahgun04
Copy link

The statement "** Connected to Vbuddy via:" is printed regardless of whether or not the computer can actually talk to the Vbuddy. It's just to tell the user that the serial port was successfully opened.
Try changing the line in vbuddy.cfg to /dev/ttyUSB0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants