jcomas / cm1106_uart Goto Github PK
View Code? Open in Web Editor NEWCubic CM1106 Library for serial communication (UART)
License: MIT License
Cubic CM1106 Library for serial communication (UART)
License: MIT License
Over Arduino framework on boards Atmel we have the next issue:
Indexing .pio/build/arduino/lib340/libDHT_nonblocking.a
.pio/libdeps/arduino/CM1106 UART/src/cm1106_uart.cpp: In member function 'uint8_t CM1106_UART::serial_read_bytes(uint8_t, int)':
.pio/libdeps/arduino/CM1106 UART/src/cm1106_uart.cpp:388:5: error: 'time_t' was not declared in this scope
time_t start_t, end_t;
^~~~~~
.pio/libdeps/arduino/CM1106 UART/src/cm1106_uart.cpp:388:5: note: suggested alternative: 'size_t'
Compiling .pio/build/arduino/libacf/src/Sensors.cpp.o
time_t start_t, end_t;
^~~~~~
size_t
.pio/libdeps/arduino/CM1106 UART/src/cm1106_uart.cpp:390:11: error: 'start_t' was not declared in this scope
[arduino_avr]
platform = atmelavr
board = pro16MHzatmega328
framework = arduino
monitor_speed = ${env.monitor_speed}
build_flags =
${env.build_flags}
lib_deps =
${env.lib_deps}
On esp32 architecture we need omit software serial include into the library and example. Maybe we need detection of it.
Building in release mode
Compiling .pio/build/esp32/src/basic/main.cpp.o
Generating partitions .pio/build/esp32/partitions.bin
Compiling .pio/build/esp32/lib2bb/src/cm1106_uart.cpp.o
Archiving .pio/build/esp32/libFrameworkArduinoVariant.a
Indexing .pio/build/esp32/libFrameworkArduinoVariant.a
examples/basic/main.cpp:2:28: fatal error: SoftwareSerial.h: No such file or directory
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.