- Take every jumper off except JP1. Take both jumpers off CN3. Take the jumpers JP2 and JP3 off from the bottom of the board.
- Put a jumper between
BOOT0andVDD. - Connect with a wire PA9 to 5V.
- Connect the device using the micro USB port, not the mini-USB port.
sudo dfu-util -d 0483:df11 -a 0 -s 0x08000000 -D build/Example_Project.bin- Unplug the device.
- Disconnect the BOOT0 jumper.
- Plug the device in.
| [user_defaults](!) | |
| type = wizard | |
| transport = transport-ipv4 | |
| accepts_registrations = yes | |
| sends_registrations = no | |
| accepts_auth = yes | |
| sends_auth = no | |
| has_hint = yes | |
| hint_context = internal | |
| endpoint/context = internal |
| /* | |
| From: https://forum.juce.com/t/script-to-convert-aupreset-to-fxp/7919 | |
| Author: https://forum.juce.com/u/yairadix | |
| I made a small Python script to convert .aupreset files to .fxp format (VST presets). | |
| Hopefully others may find it useful too. | |
| Our use case for it was creating our factory presets for SurferEQ once in Logic and then converting them to other formats. | |
| This script could be easily adapted to convert the other way around. (it uses the Construct library to describe the fxb format declaratively for both parsing and building) | |
| */ |
The Polycom CX300 and similar Plantronics Calisto 540 (P540-M), snom UC600 are originally optimized for Microsoft Lync (Skype for Business) for Windows and Mac but can also be used with Linux. It shows up as a USB audio playback and recording device (this part works immediately out of the box) plus some USB HID (this needs to be made work; see below).
Please use the comments function below if you know the answer to any of the questions
This gist will show how to setup Raspbian Stretch as a headless Bluetooth A2DP audio sink. This will allow your phone, laptop or other Bluetooth device to play audio wirelessly through a Rasperry Pi.
A quick search will turn up a plethora of tutorials on setting up A2DP on the Raspberry Pi. However, I felt this gist was necessary because this solution is:
- Automatic & Headless - Once setup, the system is entirely automatic. No user iteration is required to pair, connect or start playback. Therefore the Raspberry Pi can be run headless.
- Simple - This solution has few dependencies, readily available packages and minimal configuration.
- Up to date - As of December 2017. Written for Raspbian Stretch & Bluez 5.43
| const byte adcPin = 0; // A0 | |
| const int MAX_RESULTS = 256; | |
| volatile int results [MAX_RESULTS]; | |
| volatile int resultNumber; | |
| // ADC complete ISR | |
| ISR (ADC_vect) | |
| { | |
| if (resultNumber >= MAX_RESULTS) | |
| ADCSRA = 0; // turn off ADC |
| #!/bin/bash | |
| # | |
| # run concurrent curls which download from URL to /dev/null. output total | |
| # and average counts to results directory. | |
| # | |
| # url to request from | |
| URL="$1" | |
| # max concurrent curls to kick off | |
| conn="$2" |
lsusb lists the fingerprint reader in the x240 as follows:
Bus 002 Device 003: ID 138a:0017 Validity Sensors, Inc.
There exists experimental driver support for this in a fork of libfprint for vfs5011 sensors, however you'll need to compile the driver yourself. To get the fingerprint sensor to work for lightdm login, su etc, follow these steps.
-
Install fingerprint-gui:
sudo add-apt-repository ppa:fingerprint/fingerprint-gui
- AWSでEC2のインスタンスを借りる
- 今回は東京リージョンのCentOS 6.3 x86_64 Release MediaのAIM(ami-3fe8603e)でインスタンスを建てる
- Security Group: L2TP/IPsec(Inbound 22/TCP: SSH, 500/UDP: ISAKMP, 1701/UDP: L2TP, 4500/UDP: IPSec NAT Traversal)を許可
- ec2-54-249-173-214.ap-northeast-1.compute.amazonaws.com(グローバルIPアドレス:
54.249.173.214)にrootでログイン
[root@ip-10-132-164-105 ~]# setenforce 0| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # Needs freetype-py>=1.0 | |
| # For more info see: | |
| # http://dbader.org/blog/monochrome-font-rendering-with-freetype-and-python | |
| # The MIT License (MIT) | |
| # | |
| # Copyright (c) 2013 Daniel Bader (http://dbader.org) |
