Size: 1361
Comment:
|
Size: 1435
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 45: | Line 45: |
* https://www.raspberrypi.org/documentation/usage/gpio/python/README.md |
RaspberryPi
Access GPIO https://elinux.org/RPi_GPIO_Code_Samples#C
BCM2835
- Timers
- Interrupt controller
- GPIO
- USB
- PCM / I2S
- DMA controller
- I2C master
- I2C / SPI slave
- SPI0, SPI1, SPI2
- PWM
- UART0, UART1
Install and configure screensaver and lock screen
- sudo apt-get install xscreensaver
- Preferences, Screen saver
- Auto lock after 2 minutes
- Create new menu item (Preferences, Main menu editor)
- Menu item name Lock
- Command: xscreensaver-comand -lock
- Icon: /usr/share/lxpanel/images/ns-lock.png
Info
$ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 9.4 (stretch) Release: 9.4 Codename: stretch $ uname -a Linux raspberrypi 4.14.71-v7+ #1145 SMP Fri Sep 21 15:38:35 BST 2018 armv7l GNU/Linux
Install eclipse
- apt-get install eclipse-platform
Blink led port 26
https://www.raspberrypi.org/documentation/usage/gpio/python/README.md
- python drive_gpio26.py