Get table of live data readings with time

1 view (last 30 days)
PLEASE HELP
Hello,
I have two sensors that are connected to MATLAB by an Arduino chip.
I need to show two live tables that record the data value from each sensor every 1 second.
Table 1 two columns (Time) (data1)
Table 2 two columns (Time) (data2)
This is the current code (note that I'm new to coding)
clear
clc
a=arduino('com3','Uno')
loadcell=addon(a,'ExampleAddon/HX711',{'D2','D3'})
dat1 = read_HX711(loadcell)
dat2 = readVoltage(a,'A0')

Answers (0)

Categories

Find more on Instrument Control Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!