$ sudo apt-cache search freecad fonts-osifont - ISO 3098-compliant TrueType font for CAD projects freecad - Extensible Open Source CAx program freecad-common - Extensible Open Source CAx program - common files freecad-python3 - Extensible Open Source CAx program - Python 3 binaries kicad-packages3d - 3D models for 3D viewer in KiCad's Pcbnew and Footprint Editor libfreecad-python3-0.19 - Extensible Open Source CAx program - Python 3 library files
cpol과 cpha가 2가지 씩 이니 총 4가지 방식이 존재하고, 그걸 설정해서 통신하면 된다.
Most microcontroller SPI peripherals can operate with the ADS1118. The interface operates in SPI mode 1 where CPOL = 0 and CPHA = 1. In SPI mode 1,SCLK idles low and data are launched or changed only on SCLK rising edges; data are latched or read by the master and slave on SCLK falling edges. Details of the SPI communication protocol employed by the ADS1118 can be found in the Timing Requirements: Serial Interface section.
cd /lib/systemd/system/ sudo nano hello.service The service definition must be on the /lib/systemd/system folder. Our service is going to be called "hello.service":
[Unit] Description=Hello World After=multi-user.target
Here we are creating a very simple service that runs our hello_world script and if by any means is aborted is going to be restarted automatically. You can check more on service's options in the next wiki: https://wiki.archlinux.org/index.php/systemd.
Now that we have our service we need to activate it: