diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2019-12-18 12:43:13 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2019-12-18 12:43:13 -0500 |
commit | ce37223e98624e3a1ae52af455dddad86d444ebe (patch) | |
tree | 9c23e2523254166c3fcc47c881434f5816184110 /microwire.lua | |
parent | 93329d7a663117d31f8d983b67b101b858008638 (diff) | |
download | nodeMCU_rf_source_lmx2487-ce37223e98624e3a1ae52af455dddad86d444ebe.tar.gz nodeMCU_rf_source_lmx2487-ce37223e98624e3a1ae52af455dddad86d444ebe.zip |
fixes in microwire
Diffstat (limited to 'microwire.lua')
-rw-r--r-- | microwire.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/microwire.lua b/microwire.lua index c6d97e8..cc98a68 100644 --- a/microwire.lua +++ b/microwire.lua @@ -50,9 +50,9 @@ function microwire_send_data( data ) -- finally raise LE pin for at least 25 ns, -- note that it takes about 300 uS on ESP8266 before LE will be HIGH after spi.send - gpio.write(microwire_LE_pin, gpio.HIGH) - -- we immediately drop LE pin to low, Scope shows that the pin will be on for 80 uS - gpio.write(microwire_LE_pin, gpio.LOW) + -- Note manual toggle like below is quite slow, the shortest duration is 160 uS + gpio.write(microwire_LE_pin, gpio.HIGH) + gpio.write(microwire_LE_pin, gpio.LOW) end microwire_setup_interface() |