This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** A simple kalman filter example by Adrian Boeing | |
www.adrianboeing.com | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> | |
double frand() { | |
return 2*((rand()/(double)RAND_MAX) - 0.5); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D (555598) Brain: Processing Transaction | |
D (555796) [mesh_mqtt, 245]: Read queue timeout | |
I (555952) Brain: Size of item read : -2146915259 | |
D (555952) Brain: Energy State Queue Empty! | |
D (556174) Brain: Serial Transmission Queue Empty! | |
D (556294) [mesh_mqtt, 245]: Read queue timeout | |
D (556324) [mwifi, 1354]: esp_mesh_recv_toDS, src_addr: cc:50:e3:a9:63:ec, size: 61, data: �p= | |
ף*@�Q��k'@{�G�z�?1�G�z�9 | |
ףp=�>@A | |
D (556324) mesh_mqtt: writing to topic: /kibbutz/node/cc50e3a963ec/state, data size: 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(86662) [mqtt_tasks, 404]: System information, channel: 8, layer: 2, self mac: 24:6f:28:a8:4d:70, parent bssid: 24:6f:28:b0:3f:11, parent rssi: -46, node num: 2, free heap: 89936, min heap size : 84624 | |
D (86878) Brain: Serial Transmission Queue Empty! | |
D (86884) Brain: Transaction Queue Empty! | |
I (86890) Brain: Size of item read : -2146928332 | |
D (86890) Brain: Energy State Queue Empty! | |
D (87844) Brain: Node Control Transmission Queue Empty! | |
D (88798) Brain: Serial Transmission Queue Empty! | |
D (88804) Brain: Hardware Connfig Transmission Queue Empty! | |
I (88810) Brain: Size of item read : -2146928332 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { FC, useState, useEffect, useMemo } from 'react' | |
import { useTranslation } from "react-i18next" | |
import { useLocalStorage } from '../hooks/useLocalStorage'; | |
import useFetch from '../hooks/useFetch'; | |
import StatCard from './StatCard'; | |
import WorldMap from './WorldMap'; | |
import { ICountry } from '../definitions/ICountry'; | |
import { toPercentage } from '../utils/toPercentage'; | |
import { COUNTRIES_URL, COUNTRY_DATA_URL } from '../api'; | |
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D (27060) nvs: nvs_set_blob sta.apinfo 700 | |
I (27126) wifi: state: init -> auth (b0) | |
I (27138) wifi: state: auth -> assoc (0) | |
D (27138) Brain: Processing Transaction | |
D (27138) Main: CPU-time_now lu | |
D (27138) Brain: Adding Energy State to Queue | |
I (27138) Brain: energy state size: 80, buffer free size: 568 | |
I (27144) Brain: Size of item read : 80 | |
I (27150) Brain: Size of read item ES : 80 | |
D (27156) Brain: Processing Energy State |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I (386910) [mqtt_tasks, 421]: System information, channel: 6, layer: 2, self mac: 24:6f:28:96:99:28, parent bssid: 24:6f:28:17:2e:89, parent rssi: -68, node num: 6, free heap: 97608, min heap size : 88664 | |
W (386946) Brain: My Time -> 07-01-2020 13:34:14.568964 | |
D (386946) [mqtt_tasks, 311]: Node receive: 24:6f:28:17:2e:88, size: 256, data: 1593610454 | |
D (386946) [mwifi, 1098]: esp_mesh_recv, src_addr: 24:6f:28:17:2e:88, size: 256, data: 1593610455 | |
E (386952) mqtt_tasks: TYPE IS 0 | |
D (386958) [mqtt_tasks, 283]: Im Not ROOT | |
E (386964) Brain: epoch_time I got from root 1593610455 | |
D (387000) Brain: Processing Transaction | |
E (387066) Brain: Node time before setting 6 broadcast -> ld | |
E (387066) Brain: tc_n 1593610454.000000 | epoch_time 1593610455.000000 | tc_n_1 1593610454.000000 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D (89201) State_Monitor: UART_DATA_RECIEVED | |
D (89201) State_Monitor: DATA FROM DSPIC -> ( 1259| 1089| -388| 0| 9| -44| 4085| 3| 2| 1| 1| 202) | 85 | |
D (89201) State_Monitor: started decode | |
D (89207) State_Monitor: CPU TIME := lu | |
I (89213) State_Monitor: | |
CPU Time : | |
battery Voltage: 12.590000 | |
gridVoltage: 10.890000 | |
b2L Current: -3.880000 | |
b2G Current: 0.000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rb size:1568 free: 1152 rptr: 80 freeptr: 1540 wptr: 388 | |
D (213557) Brain: Serial Transmission Queue Empty! | |
D (213557) Brain: Transaction Queue Empty! | |
D (214325) event: SYSTEM_EVENT_SCAN_DONE, status:0, number:3 | |
I (214331) mesh: [SCAN][ch:0]AP:3, other(ID:0, RD:0), MAP:1, idle:0, candidate:1, root:0, topMAP:1[c:3,i:2][74:a5:28:14:d9:ec]router found[FIXED-ROOT]<> | |
I (214337) mesh: 6563[selection]try rssi_threshold:-85, backoff times:0, max:5<-78,-82,-85> | |
I (214343) mesh: 6638[parent]not found, rssi_threshold:-85, backoff:0 | |
I (214349) mesh: 6886[parent]not found, rssi_threshold:-85, backoff[1/max:5], try_layer:0, backoff[0/max:2] | |
I (214361) mesh: [FAIL][1]root:0, fail:1, normal:0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window. | |
2. Click Insert > Module, and paste the following code in the Module Window. | |
Sub ColorCompanyDuplicates() | |
'Updateby Extendoffice | |
Dim xRg As Range |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <LiquidCrystal_I2C.h> | |
int lcdColumns = 16; | |
int lcdRows = 2; | |
LiquidCrystal_I2C lcd(0x27, lcdColumns, lcdRows); | |
String InBytes; | |
void setup() { | |
Serial.begin(9600); | |
pinMode(4, OUTPUT); | |
lcd.init(); |