P
P
pixal2019-05-05 23:05:11
Bluetooth
pixal, 2019-05-05 23:05:11

How to set up a Bluetooth keyboard on Raspberry Pi?

I connected a BT keyboard to a Raspberry Pi 3 with Raspbian Desktop Full installed on it. It was defined normally, but when you press the keys, it does not print. The only things that work are the volume and mute buttons.
The keyboard itself is in good condition and the batteries are fresh.
Please tell me how to fix?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Sokolov, 2017-04-11
@Maksspb

Hope you get hired :)

function loadCurrencyJSON() {
  return '{"AUD":44.95,"GBP":73.42,"BRL":18.8,"USD":58.85,"EUR":62.68,"ZZZ":79.91}';
}
function convertCurrency (amount, from, to) {
  let rates = JSON.parse(loadCurrencyJSON());
  return ( amount / rates[to] * rates[from]).toFixed(2); // вернуть число, округленное до сотых
}

let price1 = convertCurrency(7000, 'ZZZ', 'USD');
console.log(`Сумма ${price1} USD`);
// Сумма 9505.01 USD

let price2 = convertCurrency(790, 'EUR', 'ZZZ');
console.log(`Сумма ${price2} Q`);
// Сумма 619.66 Q

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question