-->
Page 1 of 1

truncate data on uart.setup()

PostPosted: Wed Jan 10, 2018 12:04 am
by Dhaval Dalvadi
Hi

I am reading sensor data using uart0 an using uart.setup(0, 921600, 8, uart.PARITY_NONE, uart.STOPBITS_1, 0)
calling below callback method for process
uart.on("data", "\n", function(data)
--processing
end)

I am saving each data into sdcard but when data is very fast it truncate character what i have to do?
no problem if data coming slowly.