how can we use push button in gui for sending the serial data to microcontroller?

how can we use push button in gui for sending the serial data to microcontroller,since i am using the fwrite command in pushbutton callback for sending the data but its not working,so can anyone suggest something??

1 Kommentar

Rahul - please copy and paste the pushbutton callback code to your question so that we can see what you have attempted to do. As well, please elaborate on what you mean by its not working. Are you observing an error, or is nothing happening? Try putting a breakpoint in the callback and then stepping through the code to see what is happening.

Antworten (0)

Diese Frage ist geschlossen.

Tags

Gefragt:

am 10 Okt. 2015

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by