※和文はページ下部にあります
Previous sections:
- Setup + LED: https://tinyurl.com/picoruby-2025
- Microphone: https://tinyurl.com/picoruby-mic
- Buzzer: https://tinyurl.com/picoruby-buzzer
- Useful gems: https://tinyurl.com/picoruby-gems
※和文はページ下部にあります
Previous sections:
※和文はページ下部にあります
Previous sections:
So far we've learned the fundamental peripherals: GPIO, ADC, and PWM. These are the building blocks of all microcontroller programming. Now let's explore how PicoRuby's gem system makes working with complex sensors much easier!
※和文はページ下部にあります
Previous sections:
In this section, we'll learn about PWM (Pulse Width Modulation) - a powerful technique that allows us to simulate analog signals using digital outputs. We'll use PWM to create sounds with a buzzer and control LED brightness smoothly.
※和文はページ下部にあります
Previous sections:
In this section, we'll learn about analog-to-digital conversion (ADC) and explore how to read analog sensors. We'll use a microphone to detect sound levels and also explore the RP2350's built-in temperature sensor.
※和文はページ下部にあります
Before starting, please check the following resources:
R2P2-PICORUBY-PICO2_W-*.uf2 (PICO2_W is the point)| ########################################## | |
| ######## NickelMenu configuration ######## | |
| ########################################## | |
| # | |
| ## Main Menu | |
| # | |
| menu_item : main : Pocket : nickel_open: library : pocket | |
| menu_item : main : Browser (full window) : nickel_browser : | |
| menu_item : main : Browser (popup) : nickel_browser : modal |
This is a cheat sheet for how to perform various actions to ZSH, which can be tricky to find on the web as the syntax is not intuitive and it is generally not very well-documented.
| Description | Syntax |
|---|---|
| Get the length of a string | ${#VARNAME} |
| Get a single character | ${VARNAME[index]} |
I want to use Rspec to build feature specs that test SR pages, just like normal web pages.
Therefore, I expect Capybara + Rspec to be able to do things like:
visit login_path
fill_in 'Email', with: user.email
fill_in 'Password', with: user.password + 'BAD'
expect(page).to have_content('That email or password is not correct')
Original post : https://unix.stackexchange.com/a/310699
nmcli con add type wifi ifname wlan0 con-name Hostspot autoconnect yes ssid Hostspot
nmcli con modify Hostspot 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared
nmcli con modify Hostspot wifi-sec.key-mgmt wpa-psk
nmcli con modify Hostspot wifi-sec.psk "veryveryhardpassword1234"