Shop OBEX P1 Docs P2 Docs Learn Events
Using Simple IDE the print statment seems to put out Ascii codeds not text ? — Parallax Forums

Using Simple IDE the print statment seems to put out Ascii codeds not text ?

whiteoxewhiteoxe Posts: 794
edited 2014-06-19 17:59 in Learn with BlocklyProp
// this code

#include "simpletools.h" // Include simpletools header

int main() // main function
{
print("Hello!!!\n");
print("Hello again"); // Display a message
}


outputs

................
48 65 6c 6c 6f 21 21 21 0d 0a 48 65 6c 6c 6f 20 Hello!!!..Hello
61 67 61 69 6e


aLL my print statements behave this way ????

Comments

  • jazzedjazzed Posts: 11,803
    edited 2014-06-14 21:53
    I'm guessing you have Terminal Options set to display that way.

    Click Terminal Options button then Appearance tab and uncheck Show Hexadecimal Input.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-06-14 22:00
    Steve ... uh ... what?!!

    Whiteoxe,

    This is not normal. Which terminal program are you using?

    -Phil
  • jazzedjazzed Posts: 11,803
    edited 2014-06-14 22:03
    Phil read my "edited" post.

    SimpleIDE terminal provides this as a debug mode. It is not the default.
  • whiteoxewhiteoxe Posts: 794
    edited 2014-06-19 01:26
    thanks blokes, ill try and fix this !!!!
  • whiteoxewhiteoxe Posts: 794
    edited 2014-06-19 02:18
    Steve ... uh ... what?!!

    Whiteoxe,

    This is not normal. Which terminal program are you using?

    -Phil

    the default termin with Mint and xterm
  • whiteoxewhiteoxe Posts: 794
    edited 2014-06-19 13:20
    Sorry i got mixed up between CODE:Blocks in Mint and Simple IDE in Windows. in that last little post.

    Im using Simple IDE and im stumped because it was working . I am getting some prop load error even when i try to run the simple Hello World program. Im tried using the wrong com ports and the message was simple No Prop Chip found on that com port...

    but when set to the correct com port the message is just a propeller Load Error can you help me what is it i have got wrong this time please ?????

    Ive left the prop board plugged in the batteries are new etc.... cant see why im not even getting that message that i poster first in this thread ?

    edit; i reinstalled Simple IDe thinking that would do it but its giving me same error message...anyhow,i have to go out for a few hours, ill tackle it when i get back hme.
  • whiteoxewhiteoxe Posts: 794
    edited 2014-06-19 17:49
    help p.lease
  • whiteoxewhiteoxe Posts: 794
    edited 2014-06-19 17:59
    I'm sorry.... simple issue , solved within 5 minutes of getting back from town.
Sign In or Register to comment.