-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Talk to arduino without >command #43
Comments
Hello and thanks for your note. You can modify Bitlash so it doesn’t echo characters (though this will make it more difficult to use manually, of course). In src/bitlash-cmdline.c at line 117 you will find the “spb(c)” that echoes the input character back over the serial link. Comment that function call out and you should be good to go. Happy to take followup questions if that doesn’t work for you. -br
|
Hi, |
You can suppress the prompt by defining an empty function named “prompt”:
Your question about functions “not saved to EEPROM” puzzles me. Where would you suggest to store them? It would be possible to store them in RAM, I suppose, on the larger-ram Arduinos. -br
|
Hi, |
It may help to comment out the call to speol() at line 150 in src/bitlash_cmdline.c - this is generated when /r or /n is entered. The print command normally generates one newline at the end of the output unless you end the print command with a comma. The printf() function gives you complete control over whether or not there’s a newline at the end. -br
|
I will try it (speol) thanks. |
Hi,
I am trying to use bitlash with C#. Everything is perfect and works except one thing which ruins everything for me. Bilash by default thinks that I am in terminal and echos my commands and > sign. However in order for it to be usable when talking with C# program over serial it must send only result of the command. Currently when I write printf("a0:%d", a0) as a response I will get:
printf("a0:%d", a0)
a0:551
I want to get:
a0:551
I am sure I am missing something obvious but I cannot seem to find a solution. Whats the catch?
Thanks in advance!
The text was updated successfully, but these errors were encountered: