Display binary

Store Forums Video Experimenter General Discussion Display binary

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8904
    grafik.muzik
    Participant

    Hi!

    Do you have an idea how to display closed caption raw binary code in the serial monitor?

    I’ve tried to edit ClosedCaptions.pde between lines 122 and 178, but cannot figure out how it works.

    Thanks for any help 🙂

    • This topic was modified 7 years, 7 months ago by grafik.muzik.
    #8910
    Michael
    Keymaster

    If you want to print binary instead of the character itself, just change:

    pserial.write(c[0]);

    to:

    pserial.print(c[0], BIN);

    • This reply was modified 7 years, 7 months ago by Michael. Reason: formatting
    #8914
    grafik.muzik
    Participant

    Hi Michael,

    Thanks for this quick answer! I’ll try that as soon as I’m back home, next week.

    Cool project, with good support! 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.