.echo on
.headers on
.mode column
--.system ls -lha /dev/ttyU*
select load_extension('libsqlitefunctions.so');

--.open 'ramdisk/aiox.db'
PRAGMA main.quick_check; 

.databases
.tables
.show
--.schema
-- lists latest row of hr and ir tables
.schema hr
.mode line
select * from hr order by dt desc limit 1;
select * from hrv1 order by dt desc limit 1;
.schema ir
select *, round(ACChr_Watt/BatVolt) dACCur, (AC_InWatt - ACChr_Watt) dBypass from ir order by dt desc limit 1;

select * from irv1 order by dt desc limit 1;
.mode column
--
