Skip to content

Error < > start end flag ? #33

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

Open
Witawat opened this issue Dec 26, 2021 · 2 comments
Open

Error < > start end flag ? #33

Witawat opened this issue Dec 26, 2021 · 2 comments

Comments

@Witawat
Copy link

Witawat commented Dec 26, 2021

image

i can't make < > in flag
how to fix ?

@Witawat
Copy link
Author

Witawat commented Dec 26, 2021

i fix it

not work
python C:/EAGLE9.6.2/examples/ulps/examples/Buzzard-master/buzzard.py -w a-o lib -f FredokaOne (5V-Dc)

is work
python C:/EAGLE9.6.2/examples/ulps/examples/Buzzard-master/buzzard.py -w a-o lib -f FredokaOne "(5V-Dc)"

and support < > and space bar

int selectedStart = 0;
string startTag[] = {" ", "(", "/", "\\", "<", ">", "["};
int selectedEnd = 0;
string endTag[] = {" ", ")", "/", "\\", "<", ">", "]"};

commandToRun += " & " + s + '"' + startTag[selectedStart] + label + endTag[selectedEnd] + '"';

@dronecz
Copy link
Contributor

dronecz commented May 23, 2022

@Witawat awesome catch of my mistake! Many thanks for your fix. @NPoole could you pls merge this PR, so my script will work in all cases of use? Many thanks to you both!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants