We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi there, I hav ethis function call in BASCOM. Printbin Comm_buffer(1) ; 1 Any clues how to write this in C. Thanks Gopal
Not without knowing what it's supposed to do! Please describe the required operation of the function - in fact, doing this may even give you the clue you need to do it yourself!
At a guess, "Printbin" shoves binary data out the serial port. In which case, you could just putchar() inside of a loop to start with. You may want to write a buffered serial port driver (or take a look at the one on 8052.com).
I think Keil's putchar may well do CR-to-CRLF translation? Check the Manual and/or see the source file.