Serial Read Formatted String
Topic last updated
24 Apr 2011, by
Jesse Ardonne.
2 replies
PC.scanf():
nintendo9713
#
24 Apr 2011
My mBed will constantly receive a data string from my PC to control its outputs. Is there an example someone could show me of reading a string over PC Serial communication and using it to control the Pin outputs?
Thank you!
Replies
This Example from the Cookbook discusses RPC and has an example of using RPC over serial.
nintendo9713
#
24 Apr 2011
Whoa, this is definitely what I'm looking for! You can actually control the mBed pins directly from a .NET application? My case, C#.
So I would only have the RPC library on the mBed, and then write everything in my .NET application? I am using P5->P26, with P21->P26 being PWMs. This seems incredible!
Please log in to post a reply.
My mBed will constantly receive a data string from my PC to control its outputs. Is there an example someone could show me of reading a string over PC Serial communication and using it to control the Pin outputs?
Thank you!