generic serial setu...
 
Notifications
Clear all

generic serial setup failure

36 Posts
3 Users
0 Reactions
15.1 K Views
Posts: 2541
(@lightup)
Famed Member
Joined: 17 years ago
keyman6868 wrote:" Your sketch doesn't use any Serial.print() statements so it isn't used"

Whenever you use the Serial.print() to communicate to the Serial Monitor you are using the same COM port as Vixen. Only one can "talk", so either Vixen must be disconnected, or the Serial.print() must not be used. Serial.print() is mainly used for debugging purposes, or to let an operator know what is going on. Since the sketch isn't informing the user of any information it isn't used, and thus the Serial Monitor shouldn't be open either.
To answer your question, the Serial.print() isn't helping your problem, but could create one. Keeping the Serial Monitor closed is helping in this sketch.


Reply
Posts: 40
Topic starter
(@keyman6868)
Eminent Member
Joined: 12 years ago

I will give it a shot thanks again!


Reply
Posts: 40
Topic starter
(@keyman6868)
Eminent Member
Joined: 12 years ago

Okay Lightup turns out it was the header of ~! that I was missing then my other cpu in the garage was another problem. Im having no issues on this cpu and it connects every time! Thanks for the help! Now on to rgb and ss relays!


Reply
Posts: 17
(@smcq64)
Eminent Member
Joined: 12 years ago
keyman6868 wrote:this is what i had to do to solve the problem--
opening a port in Windows Firewall
Windows 7 or 8 or even 10(beta) which is what I have
If Windows Firewall is blocking a program and you want to allow that program to communicate through the firewall, you can usually do that by selecting the program in the list of allowed programs (also called the exceptions list) in Windows Firewall

However, if the program isn't listed, you might need to open a port. For example, to play a multiplayer game with friends online, you might need to open a port for the game so that the firewall allows the game information to reach your computer. A port stays open all the time, so be sure to close ports that you don't need open anymore.

Open Windows Firewall by clicking the Start button, and then clicking Control Panel. In the search box, type firewall, and then click Windows Firewall.

In the left pane, click Advanced settings. Administrator permission required If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

In the Windows Firewall with Advanced Security dialog box, in the left pane, click Inbound Rules, and then, in the right pane, click New Rule.

Follow the instructions in the New Inbound Rule wizard.

I am having the same problem. Not sure if this was the fix or not


Reply
Posts: 17
(@smcq64)
Eminent Member
Joined: 12 years ago

I got mine working with vixen 2. Going to go with that.


Reply
Page 7 / 8
Share: