Shop OBEX P1 Docs P2 Docs Learn Events
DEBUGIN on Chrome IDE and Chromebook IDE — Parallax Forums

DEBUGIN on Chrome IDE and Chromebook IDE

kschmidt526kschmidt526 Posts: 1
edited 2024-11-08 06:37 in BASIC Stamp

I am a teacher using Stamps in my classroom. I recently have started having students use their chromebooks with the parallax ide, but I cannot get the IDE to accept an input from the keyboard, using the DEBUGIN command. It works perfectly fine in the basic stamp editor. It will show output from a DEBUG command. Here is the chunk of code that can't get past...

debug "Player 1 - Enter a number between 1 and 10",CR   'CR means carriage return (ENTER)
debugin DEC number

Again, it works fine in the basic stamp editor

Comments

  • @"Jeff Martin"
    Have you any known issues logged for PIDE and the serial commands ?

  • @kschmidt526 said:
    I am a teacher using Stamps in my classroom. I recently have started having students use their chromebooks with the parallax ide, but I cannot get the IDE to accept an input from the keyboard, using the DEBUGIN command. It works perfectly fine in the basic stamp editor. It will show output from a DEBUG command. Here is the chunk of code that can't get past...

    debug "Player 1 - Enter a number between 1 and 10",CR   'CR means carriage return (ENTER)
    debugin DEC number
    

    Again, it works fine in the basic stamp editor

    Have you tried adding a small pause at the top of the code?

  • I just tried a quick experiment with Chrome on Windows, and Parallax IDE v. 2771
    This worked on my PC

    '{$STAMP BS2}
    '{$PBASIC 2.5}
    
    number          VAR     Word
    
    Init:
      PAUSE 200                                     'short startup-pause
    
    debug "Player 1 - Enter a number between 1 and 10",CR   'CR means carriage return (ENTER)
    debugin DEC number
    debug "Got: "
    debug DEC number
    
Sign In or Register to comment.