-
Notifications
You must be signed in to change notification settings - Fork 0
/
Readme.txt
36 lines (27 loc) · 814 Bytes
/
Readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- Place name for usb ---
lsusb
udevadm info --name=/dev/ttyUSB0 --attribute-walk
sudo nano /etc/udev/rules.d/99-com.rules
SUBSYSTEM=="tty", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="7523", SYMLINK+="modbus", MODE="0666"
sudo udevadm control --reload-rules
sudo udevadm trigger
ls -l /dev/modbus
sudo apt install python3-rpi.gpio
sudo docker ps -a
sudo docker exec -it e8e893a6cfd7 /bin/bash
sudo docker logs 7d496733564f
sudo docker run -it 7cbafa4ad53b /bin/bash
sudo docker stop 7cbafa4ad53b
git init
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
git config --list
touch .gitignore
git fetch URL
git add .
git commit -m "new commit"
sudo apt install python3.12-venv
source myenv/bin/activate
python3 -m venv myenv
source myenv/bin/activate
deactivate