I’m having issues when running the sample code in blynk.cc to write the text to blynk terminal running on V1. Running on windows 10
- Setup the Blynk project eg: provide 3 parameters : Project name, Arduino Mega, USB
- Widget adding a) Terminal --> go to Terminal preference --> select the pin # V1 (say) b) LED --> pin D13 (say)
Go to IDE of arduino
Get the right program from examples site
Update the Auth with email code
Open the CMD with run as Admin
got to your Arduino home and find the blynk-ser.bat file Just run it on command prompt with -c COMP8 (for mega)
Compile the Arduino code Upload
go to cmd prompt for errors if the message didnt appear in Blynk app
Here’s what I see in cmd prompt
pwd>blynk-ser.bat -c com8 Connecting device at com3 to blynk-cloud.com:80 6… OpenC0C(“com8”, baud=9600, data=8, parity=no, stop=1) - OK Connect(“blynk-cloud.com”, “80”) - OK InOut() START DSR is OFF
Connect(“blynk-cloudDOTcom”, “80”) - OK InOut() START InOut(): SetCommMask() ERROR Invalid argument (22) InOut() - STOP Disconnect() - OK
If anyone had this issue can you please let me know asap ?