AxelTB / nejePrint

Linux script for Neje Laser engraver
MIT License
39 stars 16 forks source link

nejePrint.sh Disabled burning time #6

Open Mike-DE-RE opened 7 years ago

Mike-DE-RE commented 7 years ago

Hi.

Are you aware of

a = int(65) print(a) print(bytes([a]))

is

65 b'A'

see https://www.programiz.com/python-programming/methods/built-in/bytes

and

echo "obase=16; 65" | bc

gives

41

where

echo -e '\x$btime'

gives

\x$btime

and

echo -e "\x$btime"

gives

A

As far as I see in v0.2 of nejePrint.sh you changed this before:

echo -e "Burning Time \x$btime\n"

echo -e "\x$btime" > $1

Did you try it that way? Why do you have to set burn time?

Regards

Michael