Great information, Claudio. Thank you! I really appreciate your clarification of the behavior of the sweep simulation (very helpful), and, especially, the time you took to create an example illustrating additional concepts :-)
Further, according to what you stated, with a Vt of 6V and a Vh of 3V, the relay should pull-in at 9V and drop out at 3V. It does not. It does pull in at 9V but then drops out at 8.9V.
Thank you Claudio. That explains it very well. I had previously looked at relais.cpp (and relais.h) in https://sourceforge.net/p/qucs/git/ci/master/tree/qucs/qucs/components/ . It appears to be merely a declaration of the objects properties. I did not see any definition of behavior, hence the reason I had to ask. For future reference, where might I find the particular source code of which you spoke? P.S. I don't know why I didn't receive notification of your response, and I see no Notification options...
The Relay in the Lumped Components section has threshold voltage and hysteresis voltage as parameters. I am not familiar with what those terms mean in the context of relays. I am familiar with the terminology usually used in datasheets such as Operate (aka Pull-in/Pick-up/Set) Voltage and Release (aka Drop-out/Reset) Voltage. I thought that perhaps the threshold voltage would be the Drop-out voltage, and the hysteresis voltage would be the difference between Pull-in and Drop-out voltages. But, this...
The Relay in the Lumped Components section has threshold voltage and hysteresis voltage as parameters. I am not familiar with what those terms mean in the context of relays. I am familiar with the terminology usually used in datasheets such as Operate (aka Pull-in/Pick-up/Set) Voltage and Release (aka Drop-out/Reset) Voltage. I thought that perhaps the threshold voltage would be the Drop-out voltage, and the hysteresis voltage would be the difference between Pull-in and Drop-out voltages. But, this...
Just FYI, Arduino Uno compatible boards can be found on Ebay for around $6-11.
I'm just starting to get into graphical displays, so your post intrigued me. But, I am a bit confused about a couple things in your code. First, isn't the ILI9341 a 240x320 display (ie. x=240 and y=320)? You have them reversed. Second, if it is indeed a 240(X) by 320(Y) display, why should X ever be greater than 240 regardless of whether or not it is a word value. Similarly, if Y = 321 then Y=1, or if Y = -1 then Y = 320. What am I missing?
Thank you for chiming in, Lakis. I would like to say you found the problem, but that's...