This file contains hidden or 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 <stdio.h> | |
long stateStart = 0; | |
// fun_ptr is a pointer to function fun() | |
void (*UpdateFunction)(void); | |
void ManualMode(){ | |
//Acoes de exibir e controlar o modo manual | |
if(selectButton && option == 2){ //opção 2 cancelar |
This file contains hidden or 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 "math.h" | |
#define e 2.718281828459045235360287471352 | |
float calculateAbsoluteHumidity(float hum, float temp) | |
{ | |
float UA = ((6.112 * (pow(e, ((17.67 * temp) / (temp + 243.5)))) * hum * 2.1674) / (273.15 + temp)); | |
return UA; | |
} |
This file contains hidden or 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 'package:flutter/material.dart'; | |
const Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
void main() { | |
runApp(MyApp()); | |
} | |
class Client { | |
late List<int> position = List<int>.empty(), dimentions = List<int>.empty(); |
This file contains hidden or 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
{ | |
"configurations": [ | |
{ | |
"name": "ESP-IDF", | |
"cStandard": "c11", | |
"cppStandard": "c++17", | |
"compileCommands": "${workspaceFolder}/build/compile_commands.json", | |
"includePath": [ | |
"${workspaceFolder}/build/config", | |
"${config:idf.espIdfPath}/components/**", |
This file contains hidden or 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, { useState } from 'react'; | |
interface FormData { | |
name: string; | |
address: string; | |
} | |
const UserForm: React.FC = () => { | |
const [formData, setFormData] = useState<FormData>({ name: '', address: '' }); |
This file contains hidden or 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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"iot:Publish", | |
"iot:Connect", | |
"iot:Subscribe", | |
"iot:Receive" |