Editor not showing current form


#1

Best I can tell from the instructions, when you type (edit 'b) it should display b. You should also be able to navigate through your code and hit enter to see the current form. When I use it, I only see my code when I type q to exit the editor.

Is this a bug or just a misunderstanding on my part?

For example:

277> 
(defun b (x) (pinmode 13 t) (digitalwrite 13 x) (delay 500) (b (not x)))
b

281> 
(edit 'b)
[shouldn't I see the definition of b here?]
?
?q [Ok I'll quit]
(lambda (x) (pinmode 13 t) (digitalwrite 13 x) (delay 500) (b (not x)))
[Ah there is what I expected to see, but now I've closed the editor]
281>

#2

When I run the editor from the Arduino IDE, immediately after entering the command:

(edit 'b)

it echoes the definition of b. Can you give a bit more information about how you’re running it and what platform you’re using?


#3

I’m using the Arduino IDE serial monitor on Mac OS X Sierra, connecting to an Arduino Uno.


#4

I think I found the issue. You have to set the Arduino serial monitor to send a carriage return. It was set to send a new line. After changing to carriage return it seems to be working correctly. Thanks!


#5

Great! Glad you found the solution.