Comments (37)
Congratulations, you found a bug.
I pushed a new version. The message should be more clear now.
Thanks
-fred-
from sa818.
OK nice and thank you very much
from sa818.
Hi
Does it look like I am wrong in my suggestion ? Today I turn on DEBUG mode and I see that
a818 --debug filters --emphasis yes --highpass yes --lowpass yes
SA818: DEBUG: Namespace(debug=True, emphasis=True, func='filters', highpass=True, lowpass=True, port=None)
SA818: DEBUG: Sending: AT+SETFILTER=0,0,0
so AT+SETFILTER=0,0,0 it is mean that filters are ENABLED
sa818 --debug filters --emphasis no --highpass no --lowpass no
SA818: DEBUG: Namespace(debug=True, emphasis=False, func='filters', highpass=False, lowpass=False, port=None)
SA818: DEBUG: Sending: AT+SETFILTER=1,1,1
so value 1 corresponds to "bypass" so isn't it enabled???
Perhaps I misunderstand the term "bypass"
in manual SA818 is for example for pre/de emphasis:
PRE/DE-EMPH:
1: emphasis bypass
0: emphasis normal
from sa818.
I suppose it is that you are using negation on YES/NO value in cmd
cmd = "{}={},{},{}".format(self.FILTER, int(not opts.emphasis),
int(not opts.highpass), int(not opts.lowpass))
I don't know why is used negation input value if
in "def yesno()" YES is equivalent to 1
def yesno(parg):
yes_strings = ["y", "yes", "true", "1", "on"]
no_strings = ["n", "no", "false", "0", "off"]
from sa818.
I have fixed that in the new version
from sa818.
Thank you very much
73 Waldek SP2ONG
from sa818.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sa818.