Linux non avviabile dopo aggiornamento interrotto – manjaro distro

Qualche giorno fa mi sono ritrovato linux non avviabile dopo un aggiornamento, il sistema andava in errore e non si riavviava. Dopo qualche ricerca mi sono imbattuto in questo link dal forum di manjaro ( la mia distro ) che ho trovato molto interessante per due motivi: il primo è ovviamente il procedimento per ripristinare…

Bitwise maths and logic operators

Fonte: Bitwise maths and logic operators Hello, here I’m again, today I will give a small maths lesson, don’t run away, its easy and its very useful for embedded programming, and its also nice to know a bit more about how our little micro-controller works. In fact I will write about bitwise operator and their…

Direct port manipulation, using the digital ports

Fonte: direct-port-manipulation-using-the-digital-ports Direct port manipulation, using the digital ports [tutorial part 3] Hello fellow readers, today I will write a bit about the digital pins and how to read and write digital values to then, its a simple subject but of a great importance, because almost everything that our micro-controller does is using its inputs and outputs…

Atmega328p – Port Registers

Fonte: PortManipulation Fonte img: atmega-328p-pu-precargado-con-bootloader-para-arduino Port Registers Port registers allow for lower-level and faster manipulation of the i/o pins of the microcontroller on an Arduino board. The chips used on the Arduino board (the ATmega8 and ATmega168) have three ports: B (digital pin 8 to 13) C (analog input pins) D (digital pins 0 to 7)

Timers on the ATmega168/328

Fonte: timers-on-the-atmega328 Timers on the ATmega168/328 INTRODUCTION:       The timers are the heart of automation. We have seen in previous chapters how we could take in an input, perform mathematical functions on the data and, perform an action. Timers give us an extra level of control by giving us not only control over what happens but…

A TOUR OF THE ARDUINO INTERNALS: HOW DOES HELLO WORLD ACTUALLY WORK?

Fonte: An tour of the arduino internal Everyone who’s ever played with an Arduino has seen the following sketch: void setup(){ pinMode(13, OUTPUT); } void loop(){ digitalWrite(13, HIGH); delay(500); digitalWrite(13, LOW); delay(500); } It’s the classic physical computing ‘hello world’: blink the onboard LED on and off every 500ms. But how does it really work? How…

Secrets of Arduino PWM

Fonte: Secrets of Arduino PWM – Secrets of Arduino PWM – Fast PWM on ATmega328, up to 8MHz Secrets of Arduino PWM Pulse-width modulation (PWM) can be implemented on the Arduino in several ways. This article explains simple PWM techniques, as well as how to use the PWM registers directly for more control over the duty cycle and frequency. This…

I2C LCD Controller

Ho comprato dei moduli I2C per display LCD basato sul chip PCF8574T. Una volta assemblato, l’aspetto del display + modulo è molto simile alla Fig. 2. Basta poi collegare i 4 pin laterali ad arduino e il gioco è fatto (almeno la parte elettronica 🙂 ). VCC   ->  5v SCL     ->  A5…

Aggiungere device in jackd

# elenco device audio Per prima cosa bisogna sapere il nome delle periferiche installate sul sistema. Diamo il seguente comando. Come si vede, ci sono due schede audio (una UMC404HD e una scheda usb generica [USB PnP Sound Device]. #attiva una seconda scheda audio Ora se vogliamo abilitare in jack una seconda scheda audio #attiva…

LiveMix

The program don’t start. It return a SIGSEGV – Segmentation fault error. I correct add a int cast to variable knob_width in file Fader.cpp. I change the line 439 of file Fader.cpp: before painter.drawPixmap(QRect((width() – knob_width) / 2, knob_y – knob_height, knob_width, knob_height), m_knob, QRect(0, 0, knob_width, knob_height)); after painter.drawPixmap(QRect((width() – (int)knob_width) / 2, knob_y…