Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
869b944
Update README.md
wasp-lahis Sep 10, 2024
3a6f797
modify_driver
vvent7 Sep 11, 2024
daab0ea
read a string from serial
HrPassos Sep 11, 2024
81de6f1
receive serial command and get LED and LDR dummy value
Sep 11, 2024
7af6926
build led update function
wasp-lahis Sep 11, 2024
8a88dfe
add comments
wasp-lahis Sep 11, 2024
a72ac4e
build ldr function
wasp-lahis Sep 11, 2024
ca6f2ea
comment ldr function
wasp-lahis Sep 11, 2024
e3cb1ad
Corrigindo resposta do RES SET_LED para 1 conforme instrucao
Sep 12, 2024
19da737
Adicionando linha para realizar Tarefa 3
Sep 12, 2024
1eb4988
¨avanco-atividades¨
Ansoferreiro Sep 12, 2024
f33ee5c
¨Teste¨
NelsonVillarreal Sep 12, 2024
bd9eb7a
SmartLamp: funcao read_usb
MateusPantoja Sep 13, 2024
e0e7d7d
¨alteracao¨
Ansoferreiro Sep 14, 2024
18d5b84
Merge branch 'modify-driver' of https://github.com/MateusPantoja/Hand…
Ansoferreiro Sep 14, 2024
0a31835
integracao-sysfs
Ansoferreiro Sep 14, 2024
5ff6486
Update README.md
NelsonVillarreal Sep 14, 2024
5475253
Update README.md
NelsonVillarreal Sep 14, 2024
ddd69cb
modificacoes para leitura via serial usb.
MateusPantoja Sep 18, 2024
2e11616
implementacao serial_write parte 1
HrPassos Oct 5, 2024
79d17b6
criação do codigo que será usado dentro de usb_write_serial(char *cmd…
Oct 5, 2024
70e6fec
implementacao de join de string e inteiro em c
wasp-lahis Oct 5, 2024
91145f8
Merge branch 'firmware' of https://github.com/MateusPantoja/Hands-On-…
wasp-lahis Oct 5, 2024
613ee25
Integração e correções para hands on
Oct 7, 2024
55aa07d
add feature temp e hum no driver
Oct 8, 2024
136c8f2
Add files via upload
PedroLucasMendes Oct 8, 2024
13624ee
Add files via upload
PedroLucasMendes Oct 8, 2024
3b2481b
Add files via upload
PedroLucasMendes Oct 8, 2024
8f1772b
Add files via upload
PedroLucasMendes Oct 8, 2024
791e0d7
Foto Prototipo Montado
NelsonVillarreal Oct 9, 2024
e44204d
Adicionando informacao da pinagem
NelsonVillarreal Oct 9, 2024
09825fc
Update README.md
PedroLucasMendes Oct 9, 2024
5d09282
Update README.md
PedroLucasMendes Oct 9, 2024
9807436
Foto Lahis
NelsonVillarreal Oct 9, 2024
d5c117c
Merge branch 'firmware' into modify-driver
MateusPantoja Oct 9, 2024
a8de601
Merge pull request #1 from MateusPantoja/modify-driver
MateusPantoja Oct 9, 2024
75057e1
smartlamp
HrPassos Oct 9, 2024
501f46a
Merge branch 'main' into firmware
MateusPantoja Oct 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
108 changes: 108 additions & 0 deletions .vscode-ctags
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
!_TAG_OUTPUT_EXCMD mixed /number, pattern, mixed, or combineV2/
!_TAG_OUTPUT_FILESEP slash /slash or backslash/
!_TAG_OUTPUT_MODE u-ctags /u-ctags or e-ctags/
!_TAG_PATTERN_LENGTH_LIMIT 96 /0 for no limit/
!_TAG_PROC_CWD /home/pantoja/devtitans/Hands-On-Linux/ //
!_TAG_PROGRAM_AUTHOR Universal Ctags Team //
!_TAG_PROGRAM_NAME Universal Ctags /Derived from Exuberant Ctags/
!_TAG_PROGRAM_URL https://ctags.io/ /official site/
!_TAG_PROGRAM_VERSION 5.9.0 //
LDR_value smartlamp-kernel-module/serial.c /^int LDR_value = 0;$/;" v typeref:typename:int
LDR_value smartlamp-kernel-module/serial_write.c /^int LDR_value = 0;$/;" v typeref:typename:int
LDR_value smartlamp-kernel-module/smartlamp.c /^int LDR_value = 0;$/;" v typeref:typename:int
LDR_value smartlamp-kernel-module/sysfs.c /^int LDR_value = 0;$/;" v typeref:typename:int
MAX_RECV_LINE smartlamp-kernel-module/probe.c /^#define MAX_RECV_LINE /;" d file:
MAX_RECV_LINE smartlamp-kernel-module/serial.c /^#define MAX_RECV_LINE /;" d file:
MAX_RECV_LINE smartlamp-kernel-module/serial_write.c /^#define MAX_RECV_LINE /;" d file:
MAX_RECV_LINE smartlamp-kernel-module/smartlamp.c /^#define MAX_RECV_LINE /;" d file:
MAX_RECV_LINE smartlamp-kernel-module/sysfs.c /^#define MAX_RECV_LINE /;" d file:
PRODUCT_ID smartlamp-kernel-module/probe.c /^#define PRODUCT_ID /;" d file:
PRODUCT_ID smartlamp-kernel-module/serial.c /^#define PRODUCT_ID /;" d file:
PRODUCT_ID smartlamp-kernel-module/serial_write.c /^#define PRODUCT_ID /;" d file:
PRODUCT_ID smartlamp-kernel-module/smartlamp.c /^#define PRODUCT_ID /;" d file:
PRODUCT_ID smartlamp-kernel-module/sysfs.c /^#define PRODUCT_ID /;" d file:
PWD smartlamp-kernel-module/Makefile /^PWD := $(CURDIR)$/;" m
VENDOR_ID smartlamp-kernel-module/probe.c /^#define VENDOR_ID /;" d file:
VENDOR_ID smartlamp-kernel-module/serial.c /^#define VENDOR_ID /;" d file:
VENDOR_ID smartlamp-kernel-module/serial_write.c /^#define VENDOR_ID /;" d file:
VENDOR_ID smartlamp-kernel-module/smartlamp.c /^#define VENDOR_ID /;" d file:
VENDOR_ID smartlamp-kernel-module/sysfs.c /^#define VENDOR_ID /;" d file:
all smartlamp-kernel-module/Makefile /^all:$/;" t
attr_group smartlamp-kernel-module/smartlamp.c /^static struct attribute_group attr_group = { .attrs = attrs };$/;" v typeref:struct:attribute_group file:
attr_group smartlamp-kernel-module/sysfs.c /^static struct attribute_group attr_group = { .attrs = attrs };$/;" v typeref:struct:attribute_group file:
attr_show smartlamp-kernel-module/smartlamp.c /^static ssize_t attr_show(struct kobject *sys_obj, struct kobj_attribute *attr, char *buff) {$/;" f typeref:typename:ssize_t file:
attr_show smartlamp-kernel-module/sysfs.c /^static ssize_t attr_show(struct kobject *sys_obj, struct kobj_attribute *attr, char *buff) {$/;" f typeref:typename:ssize_t file:
attr_store smartlamp-kernel-module/smartlamp.c /^static ssize_t attr_store(struct kobject *sys_obj, struct kobj_attribute *attr, const char *buff/;" f typeref:typename:ssize_t file:
attr_store smartlamp-kernel-module/sysfs.c /^static ssize_t attr_store(struct kobject *sys_obj, struct kobj_attribute *attr, const char *buff/;" f typeref:typename:ssize_t file:
attrs smartlamp-kernel-module/smartlamp.c /^static struct attribute *attrs[] = { &led_attribute.attr, &ldr_attribute.attr, NULL }/;" v typeref:struct:attribute * [] file:
attrs smartlamp-kernel-module/sysfs.c /^static struct attribute *attrs[] = { &led_attribute.attr, &ldr_attribute.attr, NULL }/;" v typeref:struct:attribute * [] file:
clean smartlamp-kernel-module/Makefile /^clean:$/;" t
id_table smartlamp-kernel-module/probe.c /^static const struct usb_device_id id_table[] = { { USB_DEVICE(VENDOR_ID, PRODUCT_ID) }, {} };$/;" v typeref:typename:const struct usb_device_id[] file:
id_table smartlamp-kernel-module/serial.c /^static const struct usb_device_id id_table[] = { { USB_DEVICE(VENDOR_ID, PRODUCT_ID) }, {} };$/;" v typeref:typename:const struct usb_device_id[] file:
id_table smartlamp-kernel-module/serial_write.c /^static const struct usb_device_id id_table[] = { { USB_DEVICE(VENDOR_ID, PRODUCT_ID) }, {} };$/;" v typeref:typename:const struct usb_device_id[] file:
id_table smartlamp-kernel-module/smartlamp.c /^static const struct usb_device_id id_table[] = { { USB_DEVICE(VENDOR_ID, PRODUCT_ID) }, {} };$/;" v typeref:typename:const struct usb_device_id[] file:
id_table smartlamp-kernel-module/sysfs.c /^static const struct usb_device_id id_table[] = { { USB_DEVICE(VENDOR_ID, PRODUCT_ID) }, {} };$/;" v typeref:typename:const struct usb_device_id[] file:
ignore smartlamp-kernel-module/probe.c /^bool ignore = true;$/;" v typeref:typename:bool
ignore smartlamp-kernel-module/serial.c /^bool ignore = true;$/;" v typeref:typename:bool
ignore smartlamp-kernel-module/serial_write.c /^bool ignore = true;$/;" v typeref:typename:bool
ignore smartlamp-kernel-module/smartlamp.c /^bool ignore = true;$/;" v typeref:typename:bool
ignore smartlamp-kernel-module/sysfs.c /^bool ignore = true;$/;" v typeref:typename:bool
ldr_attribute smartlamp-kernel-module/smartlamp.c /^static struct kobj_attribute ldr_attribute = __ATTR(ldr, S_IRUGO | S_IWUSR, attr_show, attr_sto/;" v typeref:struct:kobj_attribute file:
ldr_attribute smartlamp-kernel-module/sysfs.c /^static struct kobj_attribute ldr_attribute = __ATTR(ldr, S_IRUGO | S_IWUSR, attr_show, attr_sto/;" v typeref:struct:kobj_attribute file:
led_attribute smartlamp-kernel-module/smartlamp.c /^static struct kobj_attribute led_attribute = __ATTR(led, S_IRUGO | S_IWUSR, attr_show, attr_sto/;" v typeref:struct:kobj_attribute file:
led_attribute smartlamp-kernel-module/sysfs.c /^static struct kobj_attribute led_attribute = __ATTR(led, S_IRUGO | S_IWUSR, attr_show, attr_sto/;" v typeref:struct:kobj_attribute file:
recv_line smartlamp-kernel-module/serial.c /^static char recv_line[MAX_RECV_LINE]; \/\/ Armazena dados vindos da USB até recebe/;" v typeref:typename:char[] file:
recv_line smartlamp-kernel-module/smartlamp.c /^static char recv_line[MAX_RECV_LINE]; \/\/ Armazena dados vindos da USB até recebe/;" v typeref:typename:char[] file:
smartlamp_device smartlamp-kernel-module/probe.c /^static struct usb_device *smartlamp_device; \/\/ Referência para o dispositivo USB$/;" v typeref:struct:usb_device * file:
smartlamp_device smartlamp-kernel-module/serial.c /^static struct usb_device *smartlamp_device; \/\/ Referência para o dispositivo USB$/;" v typeref:struct:usb_device * file:
smartlamp_device smartlamp-kernel-module/serial_write.c /^static struct usb_device *smartlamp_device; \/\/ Referência para o dispositivo USB$/;" v typeref:struct:usb_device * file:
smartlamp_device smartlamp-kernel-module/smartlamp.c /^static struct usb_device *smartlamp_device; \/\/ Referência para o dispositivo USB$/;" v typeref:struct:usb_device * file:
smartlamp_device smartlamp-kernel-module/sysfs.c /^static struct usb_device *smartlamp_device; \/\/ Referência para o dispositivo USB$/;" v typeref:struct:usb_device * file:
smartlamp_driver smartlamp-kernel-module/probe.c /^static struct usb_driver smartlamp_driver = {$/;" v typeref:struct:usb_driver file:
smartlamp_driver smartlamp-kernel-module/serial.c /^static struct usb_driver smartlamp_driver = {$/;" v typeref:struct:usb_driver file:
smartlamp_driver smartlamp-kernel-module/serial_write.c /^static struct usb_driver smartlamp_driver = {$/;" v typeref:struct:usb_driver file:
smartlamp_driver smartlamp-kernel-module/smartlamp.c /^static struct usb_driver smartlamp_driver = {$/;" v typeref:struct:usb_driver file:
smartlamp_driver smartlamp-kernel-module/sysfs.c /^static struct usb_driver smartlamp_driver = {$/;" v typeref:struct:usb_driver file:
sys_obj smartlamp-kernel-module/smartlamp.c /^static struct kobject *sys_obj; \/\/ Executad/;" v typeref:struct:kobject * file:
sys_obj smartlamp-kernel-module/sysfs.c /^static struct kobject *sys_obj; \/\/ Executad/;" v typeref:struct:kobject * file:
usb_disconnect smartlamp-kernel-module/probe.c /^static void usb_disconnect(struct usb_interface *interface) {$/;" f typeref:typename:void file:
usb_disconnect smartlamp-kernel-module/serial.c /^static void usb_disconnect(struct usb_interface *interface) {$/;" f typeref:typename:void file:
usb_disconnect smartlamp-kernel-module/serial_write.c /^static void usb_disconnect(struct usb_interface *interface) {$/;" f typeref:typename:void file:
usb_disconnect smartlamp-kernel-module/smartlamp.c /^static void usb_disconnect(struct usb_interface *interface) {$/;" f typeref:typename:void file:
usb_disconnect smartlamp-kernel-module/sysfs.c /^static void usb_disconnect(struct usb_interface *interface) {$/;" f typeref:typename:void file:
usb_in smartlamp-kernel-module/probe.c /^static uint usb_in, usb_out; \/\/ Endereços das portas de entrada e saida/;" v typeref:typename:uint file:
usb_in smartlamp-kernel-module/serial.c /^static uint usb_in, usb_out; \/\/ Endereços das portas de entrada e saida/;" v typeref:typename:uint file:
usb_in smartlamp-kernel-module/serial_write.c /^static uint usb_in, usb_out; \/\/ Endereços das portas de entrada e saida/;" v typeref:typename:uint file:
usb_in smartlamp-kernel-module/smartlamp.c /^static uint usb_in, usb_out; \/\/ Endereços das portas de entrada e saida/;" v typeref:typename:uint file:
usb_in smartlamp-kernel-module/sysfs.c /^static uint usb_in, usb_out; \/\/ Endereços das portas de entrada e saida/;" v typeref:typename:uint file:
usb_in_buffer smartlamp-kernel-module/probe.c /^static char *usb_in_buffer, *usb_out_buffer; \/\/ Buffers de entrada e saída da USB$/;" v typeref:typename:char * file:
usb_in_buffer smartlamp-kernel-module/serial.c /^static char *usb_in_buffer, *usb_out_buffer; \/\/ Buffers de entrada e saída da USB$/;" v typeref:typename:char * file:
usb_in_buffer smartlamp-kernel-module/serial_write.c /^static char *usb_in_buffer, *usb_out_buffer; \/\/ Buffers de entrada e saída da USB$/;" v typeref:typename:char * file:
usb_in_buffer smartlamp-kernel-module/smartlamp.c /^static char *usb_in_buffer, *usb_out_buffer; \/\/ Buffers de entrada e saída da USB$/;" v typeref:typename:char * file:
usb_in_buffer smartlamp-kernel-module/sysfs.c /^static char *usb_in_buffer, *usb_out_buffer; \/\/ Buffers de entrada e saída da USB$/;" v typeref:typename:char * file:
usb_max_size smartlamp-kernel-module/probe.c /^static int usb_max_size; \/\/ Tamanho máximo de uma mensagem USB$/;" v typeref:typename:int file:
usb_max_size smartlamp-kernel-module/serial.c /^static int usb_max_size; \/\/ Tamanho máximo de uma mensagem USB$/;" v typeref:typename:int file:
usb_max_size smartlamp-kernel-module/serial_write.c /^static int usb_max_size; \/\/ Tamanho máximo de uma mensagem USB$/;" v typeref:typename:int file:
usb_max_size smartlamp-kernel-module/smartlamp.c /^static int usb_max_size; \/\/ Tamanho máximo de uma mensagem USB$/;" v typeref:typename:int file:
usb_max_size smartlamp-kernel-module/sysfs.c /^static int usb_max_size; \/\/ Tamanho máximo de uma mensagem USB$/;" v typeref:typename:int file:
usb_out smartlamp-kernel-module/probe.c /^static uint usb_in, usb_out; \/\/ Endereços das portas de entrada e saida/;" v typeref:typename:uint file:
usb_out smartlamp-kernel-module/serial.c /^static uint usb_in, usb_out; \/\/ Endereços das portas de entrada e saida/;" v typeref:typename:uint file:
usb_out smartlamp-kernel-module/serial_write.c /^static uint usb_in, usb_out; \/\/ Endereços das portas de entrada e saida/;" v typeref:typename:uint file:
usb_out smartlamp-kernel-module/smartlamp.c /^static uint usb_in, usb_out; \/\/ Endereços das portas de entrada e saida/;" v typeref:typename:uint file:
usb_out smartlamp-kernel-module/sysfs.c /^static uint usb_in, usb_out; \/\/ Endereços das portas de entrada e saida/;" v typeref:typename:uint file:
usb_out_buffer smartlamp-kernel-module/probe.c /^static char *usb_in_buffer, *usb_out_buffer; \/\/ Buffers de entrada e saída da USB$/;" v typeref:typename:char * file:
usb_out_buffer smartlamp-kernel-module/serial.c /^static char *usb_in_buffer, *usb_out_buffer; \/\/ Buffers de entrada e saída da USB$/;" v typeref:typename:char * file:
usb_out_buffer smartlamp-kernel-module/serial_write.c /^static char *usb_in_buffer, *usb_out_buffer; \/\/ Buffers de entrada e saída da USB$/;" v typeref:typename:char * file:
usb_out_buffer smartlamp-kernel-module/smartlamp.c /^static char *usb_in_buffer, *usb_out_buffer; \/\/ Buffers de entrada e saída da USB$/;" v typeref:typename:char * file:
usb_out_buffer smartlamp-kernel-module/sysfs.c /^static char *usb_in_buffer, *usb_out_buffer; \/\/ Buffers de entrada e saída da USB$/;" v typeref:typename:char * file:
usb_probe smartlamp-kernel-module/probe.c /^static int usb_probe(struct usb_interface *interface, const struct usb_device_id *id) {$/;" f typeref:typename:int file:
usb_probe smartlamp-kernel-module/serial.c /^static int usb_probe(struct usb_interface *interface, const struct usb_device_id *id) {$/;" f typeref:typename:int file:
usb_probe smartlamp-kernel-module/serial_write.c /^static int usb_probe(struct usb_interface *interface, const struct usb_device_id *id) {$/;" f typeref:typename:int file:
usb_probe smartlamp-kernel-module/smartlamp.c /^static int usb_probe(struct usb_interface *interface, const struct usb_device_id *id) {$/;" f typeref:typename:int file:
usb_probe smartlamp-kernel-module/sysfs.c /^static int usb_probe(struct usb_interface *interface, const struct usb_device_id *id) {$/;" f typeref:typename:int file:
usb_read_serial smartlamp-kernel-module/serial.c /^static int usb_read_serial() {$/;" f typeref:typename:int file:
usb_read_serial smartlamp-kernel-module/sysfs.c /^static int usb_read_serial() {$/;" f typeref:typename:int file:
usb_send_cmd smartlamp-kernel-module/smartlamp.c /^static int usb_send_cmd(char *cmd, int param) {$/;" f typeref:typename:int file:
usb_write_serial smartlamp-kernel-module/serial_write.c /^static int usb_write_serial(char *cmd, int param) {$/;" f typeref:typename:int file:
45 changes: 25 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,34 @@ Bem-vindo ao repositório da Equipe 0X do HandsON de Linux do DevTITANS! Este pr

## Tabela de Conteúdos

- [Contribuidores](#contribuidores)
- [Introdução](#introdução)
- [Recursos](#recursos)
- [Requisitos](#requisitos)
- [Configuração de Hardware](#configuração-de-hardware)
- [Instalação](#instalação)
- [Uso](#uso)
- [Contato](#contato)
- [DevTITANS 05 - HandsOn Linux - Equipe 0X](#devtitans-05---handson-linux---equipe-0x)
- [Tabela de Conteúdos](#tabela-de-conteúdos)
- [Contribuidores](#contribuidores)
- [Introdução](#introdução)
- [Recursos](#recursos)
- [Requisitos](#requisitos)
- [Configuração de Hardware](#configuração-de-hardware)
- [Instalação](#instalação)
- [Firmware ESP32](#firmware-esp32)
- [Driver Linux](#driver-linux)
- [Uso](#uso)

- [Contato](#contato)


## Contribuidores
<img src="https://github.com/user-attachments/assets/830648f1-1dd6-443b-83ef-7be8c4b237dd" width="180" >
<img src="https://github.com/user-attachments/assets/c65d095c-7b32-48a2-90f1-0053934c7da2" width="180" >
<img src="https://github.com/user-attachments/assets/5a5fa6a2-f8dc-47b5-bf17-df98449addf0" width="180" >
<img src="https://github.com/user-attachments/assets/d197148a-0e62-4c30-94b5-e6261f90ae71" width="180" >
<img src="https://github.com/user-attachments/assets/5d9a4c44-9c71-4542-9972-fa673815b108" width="180" >

<img src="https://github.com/DevTITANS05/Hands-On-Linux-fork-/assets/21023906/85e61f3e-476c-47a4-82d5-4054e856c67b" width="180" >
<img src="https://github.com/DevTITANS05/Hands-On-Linux-fork-/assets/21023906/85e61f3e-476c-47a4-82d5-4054e856c67b" width="180" >
<img src="https://github.com/DevTITANS05/Hands-On-Linux-fork-/assets/21023906/85e61f3e-476c-47a4-82d5-4054e856c67b" width="180" >
<img src="https://github.com/DevTITANS05/Hands-On-Linux-fork-/assets/21023906/85e61f3e-476c-47a4-82d5-4054e856c67b" width="180" >
<img src="https://github.com/DevTITANS05/Hands-On-Linux-fork-/assets/21023906/85e61f3e-476c-47a4-82d5-4054e856c67b" width="180" >
<img src="https://github.com/DevTITANS05/Hands-On-Linux-fork-/assets/21023906/85e61f3e-476c-47a4-82d5-4054e856c67b" width="180" >

- **Nome do(a) Aluno(a) 01:** Desenvolvedor do Firmware e Mantenedor do Projeto
- **Nome do(a) Aluno(a) 02:** Desenvolvedor do Firmware
- **Nome do(a) Aluno(a) 03:** Desenvolvedor do Driver Linux
- **Nome do(a) Aluno(a) 04:** Desenvolvedor do Driver Linux
- **Nome do(a) Aluno(a) 05:** Desenvolvedor do Firmware e Escritor da Documentação
- **Mateus Pantoja 01:** Desenvolvedor do Firmware e Mantenedor do Projeto
- **Lahis Almeida 02:** Desenvolvedor do Firmware
- **Nelson Villarreal 03:** Desenvolvedor do Driver Linux
- **Wanderson Lima Ferreira 04:** Desenvolvedor do Driver Linux
- **Itala Menezes 05:** Desenvolvedor do Firmware e Escritor da Documentação

## Introdução

Expand Down Expand Up @@ -141,4 +146,4 @@ Depois que o driver e o firmware estiverem configurados, você poderá interagir

## Contato

Para perguntas, sugestões ou feedback, entre em contato com o mantenedor do projeto em [maintainer@example.com](mailto:maintainer@example.com).
Para perguntas, sugestões ou feedback, entre em contato com o mantenedor do projeto em [maintainer@example.com](mailto:maintainer@example.com).
8 changes: 4 additions & 4 deletions arduinoinstall.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
wget --continue https://downloads.arduino.cc/arduino-1.8.19-linux64.tar.xz
tar -xf arduino-1.8.19-linux64.tar.xz
mv arduino-1.8.19 ~/Downloads/
#wget --continue https://downloads.arduino.cc/arduino-1.8.19-linux64.tar.xz
#tar -xf arduino-1.8.19-linux64.tar.xz
#mv arduino-1.8.19 ~/Downloads/
touch ~/.local/share/applications/arduino.desktop
cd ~/.local/share/applications/
cat <<EOF > arduino.desktop
Expand All @@ -13,4 +13,4 @@ Icon=arduino-arduinoide
Terminal=false
Type=Application
Categories=Development;
EOF
EOF
Binary file added esp32/Prototipo-montado-Espe32.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions esp32/pinos.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
###---Pinagem do Prototipo Montado---

o pino 1 (à esquerda) do sensor a +3.3V

o pino 2 do sensor ao seu DHTPIN

o pino 3 (à direita) do sensor ao GROUND (se o seu sensor tiver 3 pinos)

o pino 4 (à direita) do sensor ao TERRA e deixe o pino 3 VAZIO (se seu sensor tiver 4 pinos)

resistor de 10K do pino 2 (dados) ao pino 1 (potência) do sensor
1 change: 1 addition & 0 deletions smartlamp-kernel-module/.Module.symvers.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cmd_/home/pantoja/devtitans/Hands-On-Linux/smartlamp-kernel-module/Module.symvers := scripts/mod/modpost -m -a -o /home/pantoja/devtitans/Hands-On-Linux/smartlamp-kernel-module/Module.symvers -T /home/pantoja/devtitans/Hands-On-Linux/smartlamp-kernel-module/modules.order -i Module.symvers -e
1 change: 1 addition & 0 deletions smartlamp-kernel-module/.modules.order.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cmd_/home/pantoja/devtitans/Hands-On-Linux/smartlamp-kernel-module/modules.order := { echo /home/pantoja/devtitans/Hands-On-Linux/smartlamp-kernel-module/smartlamp.o; :; } > /home/pantoja/devtitans/Hands-On-Linux/smartlamp-kernel-module/modules.order
1 change: 1 addition & 0 deletions smartlamp-kernel-module/.smartlamp.ko.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cmd_/home/pantoja/devtitans/Hands-On-Linux/smartlamp-kernel-module/smartlamp.ko := ld -r -m elf_x86_64 -z noexecstack --build-id=sha1 -T scripts/module.lds -o /home/pantoja/devtitans/Hands-On-Linux/smartlamp-kernel-module/smartlamp.ko /home/pantoja/devtitans/Hands-On-Linux/smartlamp-kernel-module/smartlamp.o /home/pantoja/devtitans/Hands-On-Linux/smartlamp-kernel-module/smartlamp.mod.o; true
1 change: 1 addition & 0 deletions smartlamp-kernel-module/.smartlamp.mod.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cmd_/home/pantoja/devtitans/Hands-On-Linux/smartlamp-kernel-module/smartlamp.mod := printf '%s\n' smartlamp.o | awk '!x[$$0]++ { print("/home/pantoja/devtitans/Hands-On-Linux/smartlamp-kernel-module/"$$0) }' > /home/pantoja/devtitans/Hands-On-Linux/smartlamp-kernel-module/smartlamp.mod
Loading