Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. System Admin
  4. Transmiting first 5 bits of a character through RS232

Transmiting first 5 bits of a character through RS232

Scheduled Pinned Locked Moved System Admin
helptutorial
2 Posts 2 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    is it possible to transmit only first 5 bits of a character through RS232. The problem is: For example the binary equivalent of 'U' is 0101 0101. I want to transmit only last five bits (i.e) 10101. I tried this by setting databits to 5 and stopbits to 1 or 2.but i am getting 0001 0101. i observed this on CRO. can you please suggest the solution. :rose: prudhvi Raju

    N 1 Reply Last reply
    0
    • L Lost User

      is it possible to transmit only first 5 bits of a character through RS232. The problem is: For example the binary equivalent of 'U' is 0101 0101. I want to transmit only last five bits (i.e) 10101. I tried this by setting databits to 5 and stopbits to 1 or 2.but i am getting 0001 0101. i observed this on CRO. can you please suggest the solution. :rose: prudhvi Raju

      N Offline
      N Offline
      NormDroid
      wrote on last edited by
      #2

      Make out the first 3 bits with 0xE0 before transmitting the byes? Normski. - Professional Windows Programmer

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups