sleep 0.5 play 62 sleep 0.5 play 64 sleep 0.5 play 60 sleep 0.5end
You can enter frere to call this method later. For example, call in a loop:
4.times do frereend
6. Synths (synthesizer)
The synthesizer enables the play method to make different sound effects. The default synthesizer is "pretty_bell", but you can change it by yourself:
"pretty_bell""dull_bell""beep""saw_beep""fm"
Try different synthesizer:
with_synth "fm"2.times do play 60 sleep 0.5 play 62 sleep 0.5end
7. threads
1. Change the password of pi account[Plain]View PlainCopyprint?
Password pi
2. Open the root accountThe Linux used by the Raspberry Pi is the Debian system, so the Raspberry Pi enable root and Debian are the same.Th
:).-----------------------------to spit out the installation experience-----------------------------------------------------Today, there is a project to do a self-running measurement system, thinking about how to implement automatic measurement when not connected to the PC. The previous day has been the Python GUI, so think of the idle raspberry Pi, perhaps with an HDMI monitor can be used. Friday, while pl
Compared to the Raspberry Pi 1 it has:
A 900MHz quad-core ARM cortex-a7 CPU
1GB RAM
Like the (Pi 1) Model B +, it also has:
4 USB Ports
GPIO Pins
Full HDMI port
Ethernet Port
Combined 3.5mm audio jack and composite video
Camera Interface (CSI)
Display Interface (DSI)
Micro SD Card Slot
Videocore IV 3D Graphics core
Becau
This article is based on the purchase of a East USB wireless network card (Rtl8188cus chip) to make wireless hotspot. Originally wanted to make a one-click script. Just record the implementation process first.
ReferencesTurn Your Raspberry Pi into a WiFi Hotspot with Edimax Nano USB Ew-7811un (Rtl8188cus chipset)Why won ' t DNSMASQ's DHCP server work when using HOSTAPD?
1, update the system, i
heat up your brewing material with a PID controller. But I think it's a bit boring (which means you can't experience the full winemaking process).650) this.width=650; "class=" AlignCenter size-full wp-image-85372 "src=" http://www.linuxprobe.com/wp-content/ Uploads/2017/10/timg.jpg "alt=" City will play: Linux+python+raspberry Pi Brewing Beer City will play: Linux+python+
Raspberry Pi Command line:sudo apt-get install TightvncserverAfter installation, be sure to set up a VNC password with this command first:vncpasswd(Enter the operation password two times, then ask whether to set a view (view-only) password, as you like, generally not necessary. )set boot up:You need to create a file in/etc/init.d/. For example Tightvncserver (note: The name of the startup script, which has
You can use SSH to connect to your Raspberry Pi on a Linux or Mac computer (or another Raspberry Pi) terminal, and you don't need any other software.You need to know your Raspberry Pi IP address to connect to it. Query IP, you can
This morning, I took an hour out of my busy schedule to experience a banana pie that was sent a few days ago. The overall experience is quite good. First brush the SD card, I use the system is Raspberry Pi raspbian into the bananapi system, making the SD card See http://www.lemaker.org/resources/9-81/raspbian_for_bananapi.html. It also officially supports lubuntu, archlinux, opensuse, Android, and other s
Raspberry Pi (Raspberrypi) common image high-speed downloadRaspberry Pi Official website in the domestic open speed is relatively slow, want to download the image may need to wait for a long time, in order to save time to download the image, I here to organize the Raspberry Pi
Use Raspberry Pi to build your own web server (I) install LAMP and raspberry lamp1. Adjust pi GPU memoryOccupiedSize
As a web server, you do not need to output video signals. Therefore, reduce GPU memory usage to maximize pi performance.
1 sudo raspi-config
Select Advan
For many IoT applications, using a Raspberry Pi to build an intelligent gateway is no longer appropriate, but the market of those "XX smart", "XX center" direct seconds kill it!Hardware needs to be extended: SD card, WiFi, Bluetooth, USB hub,tft display.What software is needed: scripting engine, remote login service, Web server, messaging server, processing server, forwarding server, Smart Display software,
The default raspberry is not self-samb and requires manual installation.If the default rasp source is not good enough, you can use the following from the online search:Deb http://Mirrors.cqu.edu.cn/raspbian/raspbian wheezy main contrib non-free RPIDEB-SRC http://mirrors.cqu.edu.cn/raspbian/raspbian/wheezy main contrib non-free RPIDeb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/wheezy main contrib non-free RPIDEB-SRC http://mirrors.tuna.tsing
Raspberry Pi uses peanut shells for Internet access and raspberry peanut shells
Raspberrypi uses the Intranet ing of peanut shells.I. Raspberry Pi environment II. Required Software III. Operation Method IV. Additional instructions: these commands can be used only after the
If the device is not received, after using VNC login, the display resolution is very small, should be 480p, resulting in a very inconvenient use.By modifying the/boot/config.txt file, the desktop can also be displayed at a set resolution when the monitor is not connected. Here's how:1. Open Config.txt FileMethod One: Use the SD card reader to open the Config.txt file in the boot folder in the Windows environmentMethod Two: After entering the raspberry
So the combination of keywords (Raspberry Pi mysql) asks Baidu to ask Google. No results. Fencing yourself to it. Check MySQL configuration file/etc/mysql/my.cnf found the following configuration# Instead of skip-networking The default is now-listen only on# localhost which are more compatible and are not less secu Re.bind-address = 127.0.0.1Here on everything clear, probably means that the
Objective:Raspberry Pi has a variety of networked ways, either via a wired network or via a wireless network. Through the wired network connection is relatively simple, in the DHCP-enabled router, directly plug in the network cable can be networked, this article introduces the way of the Raspberry Pi wireless networking. Without the network, if there is no screen
Raspberry Pi on the Cloud (1): Environment preparationRaspberry Pi on the Cloud (2): Uploading sensor data to AWS IoT and leveraging Kibana for presentation1. Sensor installation and configuration 1.1 DHT22 installationThe DHT22 is a temperature and humidity sensor with 3 pins, the first pin on the left (#1) is the 3-5v power supply, the second pin (#2) is connec
= g # Top bottom = g # Bottom OpenURL = w # Open Song Home rate = R # Mark like/cancel like next = n # next Song bye = b # no longer play quit = q # exit pause = p # pause loop = L # single Loop mute = m # mute code /li>
Problems encounteredRaspberry Pi Interface cannot display ChineseUsing the command sudo raspi-config, use the SPACEBAR to tick the front with "zh-cn UTF-8" option.Then sudo rebootTo modify the encoding of the SSH client, take Xs
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.