15,912,400 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 11915058 (Top 4 by date)
Member 11915058
21-Aug-15 20:29pm
View
checkBox0 ... to checkBox9 ==> in GroupBoxA
textBox0 ... to textBox9 ==> in GroupBoxB
Member 11915058
17-Aug-15 17:31pm
View
I tried to send and receive via a NULL modem and it works! I can receive the data from hyperterminal/arduinoIDE terminal and read it with Visual Studio.
Visual Studio ==== can Write to ====> MocroController
Visual Studio ==== can Read from ===> HyperTerminal
Visual Studio ==== can Read from ===> ArduinoTerminal
HyperTerminal ==== can read from ===> MicroController
Arduinoterminal == can read from ===> MicroController
Visual Studio ==== CAN'T read from => MicroController ???
Member 11915058
17-Aug-15 13:22pm
View
"How are you sure? Do you receive data on microcontroller side?"
I send to microController with Visual Studio someting like : "this is from Visual"
and the I read the string variable with a "working Serial Terminal" and I receive: "this is from from Visual".
"I would put a breakpoint inside DAtaReceived handler and make a test with microcontroller sending data in a neverending loop."
I send every 500ms from the micro a word but can't reach the breakpoint inside DAtaReceived handler.
I tried to read the serial buffer with a readButton but have nothing.
private void readButton_Click_1(object sender, EventArgs e)
{
readBox.Text = serialPort1.ReadExisting();
}
Member 11915058
17-Aug-15 12:53pm
View
I never received one character, and I never get an event here.
But Im 100%, I can send some data.
private void serialPort1_DataReceived(object sender, SerialDataReceivedEventArgs e)
{
DispString = serialPort1.ReadExisting();
this.Invoke(new EventHandler(DisplayText));
}