Windows 10: DEC, ASCII, BIN, HEX via SPI

Discus and support DEC, ASCII, BIN, HEX via SPI in Windows 10 Software and Apps to solve the problem; Hi, I'm trying to understand what actually happens when I program in 'say' decimal, send it via SPI or UART then either show it on a terminal screen or... Discussion in 'Windows 10 Software and Apps' started by Camerart, Feb 24, 2022.

  1. Camerart Win User

    DEC, ASCII, BIN, HEX via SPI


    Hi,
    I'm trying to understand what actually happens when I program in 'say' decimal, send it via SPI or UART then either show it on a terminal screen or use the DATA in 'say a calculation.

    Sometimes, I receive GPS DATA (NMEA sentences) which is a mixture of DEC and ASCII.

    When it passes SPI it is BIN, then depending what it's used for could end up as usually DEC.

    How is this all converted, and is there anything I need to consider, when programming?

    Cheers, Camerart.
     
    Camerart, Feb 24, 2022
    #1
  2. dalchina Win User

    ascii to hex converter app that can do so in registry format?

    ASCII Converter download | SourceForge.net
    There is freeware out there- try searching using e.g.
    convert ASCII to hex freeware
     
    dalchina, Feb 24, 2022
    #2
  3. Mal_L Win User
    Extended ASCII characters from USB-serial interfaced equipment not displaying correctly.

    What do I need to configure / how do I configure Windows to accept and properly display the extended ASCII character set?

    I have need to displaying ASCII characters above (alt 0126) from an external serial device.

    I have set up a quick USB serial stream generator to test with. This generator outputs sequential numbers/characters to a serial terminal (PUTTY).

    A clip from the terminal display and the "characters" follow. NOTE The column order is: CHAR, Counter value in various forms.

    y, dec: 121, hex: 79, oct: 171, bin: 1111001

    z, dec: 122, hex: 7A, oct: 172, bin: 1111010

    {, dec: 123, hex: 7B, oct: 173, bin: 1111011

    |, dec: 124, hex: 7C, oct: 174, bin: 1111100

    }, dec: 125, hex: 7D, oct: 175, bin: 1111101

    ~, dec: 126, hex: 7E, oct: 176, bin: 1111110

    , dec: 127, hex: 7F, oct: 177, bin: 1111111

    ⸮, dec: 128, hex: 80, oct: 200, bin: 10000000

    ⸮, dec: 129, hex: 81, oct: 201, bin: 10000001

    ⸮, dec: 130, hex: 82, oct: 202, bin: 10000010

    ⸮, dec: 131, hex: 83, oct: 203, bin: 10000011

    This code functioned as expected with Windows XP, and 7. but does not want to display extended ASCII characters in Windows 10.
     
    Mal_L, Feb 24, 2022
    #3
  4. dalchina Win User

    DEC, ASCII, BIN, HEX via SPI

    ascii to hex converter app that can do so in registry format?

    These look more interesting:
    4 Tools to Decode and Convert Windows Registry Hex Values to Text • Raymond.CC

    E.g.
    Another:
    MetadataConsulting.ca: RegtoText - NEW command-line executable converts Windows Registry file to human readable text
     
    dalchina, Feb 24, 2022
    #4
Thema:

DEC, ASCII, BIN, HEX via SPI

Loading...
  1. DEC, ASCII, BIN, HEX via SPI - Similar Threads - DEC ASCII BIN

  2. Compile C to HEX

    in Windows 10 Software and Apps
    Compile C to HEX: Hi, I program in Oshonsoft BASIC, and have some C CODE that may work if I can get the HEX from it. How can I compile it please? Camerart.
  3. ASCII-Code on laptop

    in Windows 10 Customization
    ASCII-Code on laptop: HelloIs there a way to activate the imbedded numeric keypad https://www.dummies.com/article/technology/computers/pcs/the-hidden-numeric-keypad-on-your-laptop-206927/ on my Surface laptop studio.The reason I ask this question is that I like to use the ASCII-Code ~ALT-Codes.I...
  4. Deleting /windows.old via recycle bin

    in Windows 10 Gaming
    Deleting /windows.old via recycle bin: Hello, I am attempting to discover a way to move my windows.old files to my recycle bin. The prompt I am receiving is that I must gain permission from 'owner' system. Changing the owenership of the file only changes the prompt name ownership request. I understand that there...
  5. Deleting /windows.old via recycle bin

    in Windows 10 Software and Apps
    Deleting /windows.old via recycle bin: Hello, I am attempting to discover a way to move my windows.old files to my recycle bin. The prompt I am receiving is that I must gain permission from 'owner' system. Changing the owenership of the file only changes the prompt name ownership request. I understand that there...
  6. Blank hexes instead of terrain

    in Windows 10 Gaming
    Blank hexes instead of terrain: One of my not so new games still runs except for one thing - instead of the r=terrain as it should be it gives blank hexes.If anyone knows this problem I will give you details onthe game.As I only use it for nostalgia and as a data source for mods of a a newer game and we are...
  7. ascii to hex converter app that can do so in registry format?

    in Windows 10 Software and Apps
    ascii to hex converter app that can do so in registry format?: So i know a plethora of online ones exist. Even so, they've all failed me in the simplicity im looking for. Plus id prefer one i can run local. Seem pretty rare best i can tell. Anyone know of anything? I'd like it to be able to do string to hex or the other direction, and...
  8. ascii to hex converter app that can do so in registry format?

    in Windows 10 Support
    ascii to hex converter app that can do so in registry format?: So i know a plethora of online ones exist. Even so, they've all failed me in the simplicity im looking for. Plus id prefer one i can run local. Seem pretty rare best i can tell. Anyone know of anything? I'd like it to be able to do string to hex or the other direction, and...
  9. Ascii file in Notepad

    in Windows 10 Software and Apps
    Ascii file in Notepad: I created an ascii file. It was automatically saved to Notepad. The file does not show any underscoring in the document. But the original document has underscoring. Please help....
  10. Hex editor recommendation?

    in Windows 10 Software and Apps
    Hex editor recommendation?: I'm not a techie or programmer but occasionally need to edit binary files. For example, my app Macro Express Pro creates its macro files in proprietary (MXE) format. If I make changes to my Win 10 PC file/folder organisation then scores or even hundreds of macros have to be...