How do I get the state of connectors like SPI, Serial? #7617
Replies: 1 comment
-
Posted at 2020-02-28 by Robin Thr 2020.02.27 Hi @user109783, thank you for your interest in Espruino. While we understand there may be a bit of a learning curve getting started, there appears to be a bit of a mis-communication in the type of questions being asked, and the thread topic placement within the Espruino forum. A few days ago, the first post went unanswered within the 'Electronics' forum:
So, before we tie up our experienced staff possibly chasing ghosts, lets start with some basics so that we are all on the same page. okay? Please post the results of Should the function reference not have been discovered yet, and the results of the it is possible we are not totally grasping what is being attempted. Forgive us if it is simply a language barrier, but rest assured we'll get started on the right track. Please review the bulleted list at:
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-02-28 by user109783
When I use Ethernet, I plug cable, I want to get the state of SPI so that I can judge if I need to getIP() from network. Oppositely, when I unplug the cable, when I invoke code like 'eth.getIP()', system shown that I could connect to the internet, but actually it couldn't.
So, how do I easily get the collectors states?
If a borad have both Ethernet and GPRS, how to automatically join network? How to handle the ip method?
Beta Was this translation helpful? Give feedback.
All reactions