We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi I did a small script to comunicate whit modem using micropython but im not able to get response. If some one can share a script example to use?
Thanks
This is my simple try
`from machine import Pin, PWM from time import sleep from machine import UART from Modem import Modem import time
pin1 = Pin(4, Pin.OUT) pin2 = Pin(12, Pin.OUT)
modem = Modem(pin1, pin2)
time.sleep(1) uart = UART(1, rx=27, tx=26, baudrate=115200) uart.init(115200,bits=8,parity=None,stop=1) uart.write('AT\r\n') print(uart.read()) print(uart.read()) print(uart.read()) print(uart.read())
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi
I did a small script to comunicate whit modem using micropython but im not able to get response.
If some one can share a script example to use?
Thanks
This is my simple try
`from machine import Pin, PWM
from time import sleep
from machine import UART
from Modem import Modem
import time
pin1 = Pin(4, Pin.OUT)
pin2 = Pin(12, Pin.OUT)
modem = Modem(pin1, pin2)
modem.on()
time.sleep(1)
uart = UART(1, rx=27, tx=26, baudrate=115200)
uart.init(115200,bits=8,parity=None,stop=1)
uart.write('AT\r\n')
print(uart.read())
print(uart.read())
print(uart.read())
print(uart.read())
modem.off()`
The text was updated successfully, but these errors were encountered: