esp-open-rtos | Open source FreeRTOS-based ESP8266 software framework
kandi X-RAY | esp-open-rtos Summary
kandi X-RAY | esp-open-rtos Summary
Open source FreeRTOS-based ESP8266 software framework
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of esp-open-rtos
esp-open-rtos Key Features
esp-open-rtos Examples and Code Snippets
Community Discussions
Trending Discussions on esp-open-rtos
QUESTION
I'm trying to call the following function which should fill an array with sensors' data and return the number of detected sensors:
...ANSWER
Answered 2017-Oct-14 at 17:13Max sensors on 1-wire is 75. So you can have up to 75 ds18b20s attached. You can also query the wire to find out how many sensors are attached using int ds18b20_scan_devices(int pin, ds18b20_addr_t *addr_list, int addr_count);
set addr_count = 75.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install esp-open-rtos
Install esp-open-sdk, build it with make toolchain esptool libhal STANDALONE=n, then edit your PATH and add the generated toolchain bin directory. The path will be something like /path/to/esp-open-sdk/xtensa-lx106-elf/bin. (Despite the similar name esp-open-sdk has different maintainers - but we think it's fantastic!) (Other toolchains may also work, as long as a gcc cross-compiler is available on the PATH and libhal (and libhal headers) are compiled and available to gcc. The proprietary Tensilica "xcc" compiler will probably not work.)
Install esptool.py and make it available on your PATH. If you used esp-open-sdk then this is done already.
The esp-open-rtos build process uses GNU Make, and the utilities sed and grep. If you built esp-open-sdk then you have these already.
Use git to clone the esp-open-rtos project (note the --recursive):
To build any examples that use WiFi, create include/private_ssid_config.h defining the two macro defines:
Build an example project (found in the 'examples' directory) and flash it to a serial port:
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page