Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lupyuen/cocoosexample-arduino
cocoOSExample adapted for Arduino. From cocoOS, the free, open source, cooperative task scheduler, based on coroutines targeted for embedded microcontrollers like AVR, MSP430 and STM32. http://www.cocoos.net
https://github.com/lupyuen/cocoosexample-arduino
arduino cocoos iot
Last synced: 16 days ago
JSON representation
cocoOSExample adapted for Arduino. From cocoOS, the free, open source, cooperative task scheduler, based on coroutines targeted for embedded microcontrollers like AVR, MSP430 and STM32. http://www.cocoos.net
- Host: GitHub
- URL: https://github.com/lupyuen/cocoosexample-arduino
- Owner: lupyuen
- Created: 2018-08-06T14:12:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-06T15:07:08.000Z (over 6 years ago)
- Last Synced: 2024-11-14T18:30:25.614Z (3 months ago)
- Topics: arduino, cocoos, iot
- Language: C
- Size: 12.7 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Sample multitasking sensor handling program from cocoOS, adapted for Arduino.
Libraries needed to compile with Arduino IDE or Arduino Web Editor:
- `Time`: Download from Arduino Library Manager
- `cocoOS_5.0.1`: Download from http://www.cocoos.net/download.html,
unzip and move all files in `inc` and `src` to top level.
Zip up and add to Arduino IDE as library.Tested with Arduino Uno.
## Sample Log
```
------------------arduino_setup
display_init
os_init
event_create
tempSensor_get
tempSensor.init
gyroSensor_get
gyroSensor.init
task_create
arduino_start_timer
os_startGyro: x:1 y:2 z:3
Gyro: x:1 y:2 z:3
Gyro: x:1 y:2 z:3
Gyro: x:1 y:2 z:3
tempSensor_service
gyroSensor_serviceGyro: x:1 y:2 z:3
Gyro: x:1 y:2 z:3
Gyro: x:1 y:2 z:3
Gyro: x:1 y:2 z:3
Gyro: x:1 y:2 z:3
tempSensor_service
gyroSensor_serviceGyro: x:1 y:2 z:3
Gyro: x:1 y:2 z:3
Gyro: x:1 y:2 z:3
Gyro: x:1 y:2 z:3
Gyro: x:1 y:2 z:3
tempSensor_service
gyroSensor_serviceGyro: x:1 y:2 z:3
Gyro: x:1 y:2 z:3
Gyro: x:1 y:2 z:3
Gyro: x:1 y:2 z:3
Gyro: x:1 y:2 z:3
tempSensor_service
gyroSensor_serviceGyro: x:1 y:2 z:3
Gyro: x:1 y:2 z:3
Gyro: x:1 y:2 z:3
Gyro: x:1 y:2 z:3
Gyro: x:1 y:2 z:3
tempSensor_service
gyroSensor_service
New York 25 degC
Gyro: x:1 y:2 z:3
New York 25 degC
Gyro: x:7 y:39 z:31
New York 25 degC
Gyro: x:7 y:39 z:31
New York 25 degC
Gyro: x:7 y:39 z:31
New York 25 degC
Gyro: x:7 y:39 z:31
tempSensor_service
gyroSensor_service
New York 25 degC
Gyro: x:7 y:39 z:31
New York 25 degC
Gyro: x:7 y:39 z:31
New York 25 degC
Gyro: x:7 y:39 z:31
New York 25 degC
Gyro: x:7 y:39 z:31
New York 25 degC
Gyro: x:7 y:39 z:31
tempSensor_service
gyroSensor_service
New York 25 degC
Gyro: x:7 y:39 z:31
New York 25 degC
Gyro: x:7 y:39 z:31
New York 25 degC
Gyro: x:7 y:39 z:31
New York 25 degC
Gyro: x:7 y:39 z:31
New York 25 degC
Gyro: x:7 y:39 z:31
tempSensor_service
gyroSensor_service
New York 25 degC
Gyro: x:7 y:39 z:31
New York 25 degC
Gyro: x:7 y:39 z:31
New York 25 degC
Gyro: x:7 y:39 z:31
New York 25 degC
Gyro: x:7 y:39 z:31
New York 25 degC
Gyro: x:7 y:39 z:31
tempSensor_service
gyroSensor_service
New York 25 degC
Gyro: x:7 y:39 z:31
New York 25 degC
Gyro: x:7 y:39 z:31
New York 25 degC
Gyro: x:7 y:39 z:31
New York 25 degC
Gyro: x:7 y:39 z:31
New York 25 degC
Gyro: x:7 y:39 z:31
tempSensor_service
gyroSensor_service
New York 25 degC
Gyro: x:7 y:39 z:31
New York 25 degC
Gyro: x:14 y:10 z:40
```