Python PyGtk virtual keyboard support with at-spi

I wrote a PyGtk app to control some specific functionality on a Pi3. This full screen GUI (via a 2.8" TFT touch screen) is all the user has to interact with the device. There is no mouse,...

PyGTK, threads and accessibility - application hangs

I've created some applications using PyGTK and thought they had been OK until I executed them in an environment with accessibility enabled (GNOME on Ubuntu and Openbox on Debian). I've found out...

How to provide input to the screen reader in a Tk application?

I have a Python+Tkinter application to which I'd like to add some screen-reader support. I'd like to make it work both in Windows and Linux, but I'll start with Linux. Unfortunately Tk doesn't...

How to downgrade python version on CentOS?

I have a dedicated web server which runs CentOS 6.6 I am running some script that uses Python SHA module and I think that this module is deprecated in the current Python version. I am consider...

How to get the ESP8266 to work in update mode?

I have been trying to get my WiFi module, ESP8266 to work in the "update mode" where you connect GPIO_0 to ground. The board is functional when GPIO_0 is disconnected from ground and I am able to...

Why are all error bits set when I want to read a Thermocouple with the LTC2983

I found a Library to communicate with the LTC2983 over the SPI Bus. But this library is in C++ written and I need this Library for Python. Thats the reason why I written the C++ library in to...

The sha module is deprecated

I am playing with SIPVicious (python) So I have a dedicated server centos 6.6. When I run the script, I get this error: > /root/1/fphelper.py:134: DeprecationWarning: the sha module is deprecated;...

Flir Lepton 3.5 with Breakout Board v2.0 and Raspberry Pi SPI communication

I am working with a Lepton 3.5 module and a Breakout Board v2.0 with a Raspberry Pi 3B. The goal is to get RAW14 video output with telemetry enabled. Right now, I am trying to make the SPI...

Python : retrieve variable/result from C module

i have a need to use SPI in Raspberry, and its working with this approach, however its prints the result from the reading of the SPI bus to screen, something i don't want. Python calls the...

Issue with daisychaining MCP3008 SPI on Raspberry Pi with Python

At the moment I am trying to let two MCP3008's communicate through SPI with my raspberry pi and a Python script. A potentiometer should send a certain analog value to the MCP3008 input...

Read temperature with MAX31855 Thermocouple Sensor on Windows IoT

I am working on a Raspberry Pi 2 with Windows IoT. I want to connect the Raspberry Pi with a MAX31855 Thermocouple Sensor which I bought on Adafruit. There's a Python libary available on GitHub to...

Python print formatted byte(s)

I got the following problem: I'm trying to make a print of values passed into a spi method in Python. This is the method: def Write_MFRC522(self, addr, val): ...

Cannot find SPI device

I am using Raspberry Pi Zero W with a PiTFT. I have managed to put an image on the screen as explained here:...

Can't get my .jar starting Ignite to work on GKE

I've set up correctly my RBAC, and my services as described in Ignite doc with the fix described here >> https://stackoverflow.com/questions/50817940/failed-to-retrieve-ignite-pods-ip-addresses I...

PyQt4 installation on Linux

Please help to finish installation of PyQt. So I think I successfully installed SPI and PyQt as it is mentioned in the reiverbankcomputing....

Python - How can I read input from a device using ioctl or spidev?

I have a hardware device and the vendor that supplied it gave a bit of C code to listen for button presses which uses ioctl. The device has an SSD1289 controller. > Push buttons require no...

How to correctly read data returned by MFRC522 via SPI using STM8S103F3?

I had tested reading Mifare RFID 1K cards with an RFID-RC522 module via UART using a Pyhton script on my PC. Now I am using STM8S103F3 to interface with the same RFID-RC522 (MFRC522) via SPI, but...

Why does my Raspberry Pi SPI write loop pause for about 15ms? Context switch?

I have a Raspberry Pi managing and writing to an FPGA. I use the SPI bus and some GPIO's to get the data over the link. The SPI write happens in bursts of variable length - from a few tens of...

unsupported operand type(s) for |=: 'list' and 'list'

I am having trouble with some code for an AMT22 encoder. I am getting the following error: TypeError: unsupported operand type(s) for |=: 'list' and 'list'. I know I cant do an operation like this...

RaspBerry pi B rev2 - Issue while sampling a LM335 (temp. sensor) thru a MCP3208 ADC via SPI in Python 3

I tried to interface a RaspBerry pi with a LM335 temperature sensor this week-end. I'm using a MCP 3208 micro controller (channel 0) to interface the sensor. My goal is to collect samples data in...

SPI on Beagleboard Black

I've been trying to make the serial communication work on my BBB for days now and I am running out of ideas. When I use just the BBB and connect MISO/MOSI I get the signal transfer on MOSI, SCLK...

How do I upload firmware and configuration files via SpiDevice in Android Things?

How do I upload firmware (microsemi) via the Spi port? How do I then start, stop and check the status of said firmware? Android Things Version: 0.4.1-devpreview (could not get the display to work...

Issues reading data from ADXL355 using SPI (STM32 board)

I'm trying to read data from an EVAL-ADXL355-PMDZ connected to a STM2L072 Lora discovery kit through the SPI protocol for a project. At first I was using an ADXL345 sensor and I was able to read...

How can I write to AD5754 DAC register from Raspberry Pi? SPI interface

I'm using a Raspberry pi to try and control the DAC AD5754 from Analog Devices to produce arbitrary waveforms. I've connected the RPI to the DAC using SPI. I'm trying to write into the DAC to...

Python/Raspbian - why does object SPI property (_spi_seq) change on Buster python 3.7.3 but not Jessie python 3.4.2 - probably spidev issue

I recently started a job, where the requirements for coding were not made clear to me before I took it on. I'm enjoying it, but the learning curve has been massive as I've never used OOP before....

AD7705 - Problems with setup and communication with Raspberry Pi via bitbanged SPI in Python

I am new here and desperately searching for a solution to my problem. I am currently trying to make my Raspberry Pi communicate to an AD7705 16bit-ADC with Python. Unfortunately though, things...

RS232 transfert, python interprets my data as new line feed and cariage return

I currently am working with a microcontroller to set a communication between an ASIC and my PC. The ASIC sends data to the microcontroller through SPI and the microcontroller sends the data to the...

Connect RasberryPi with TI ADS1298 through SPI with Python3

I am trying to connect to TI chip ADS1298 (datasheet) through SPI communication using a Rasbperry Pi 3b+ and Python3. The configuration must be as written. Also I am using a reverse bits function...

Raspberry PI SPI read from Arduino slave with wiringPI2?

I've got wiringpi2 and the the wiringpi2 python wrapper installed on the NOOBS Raspbian PI distro. The Adafruit 4 channel logic level converter kept the PI safe from 5v and sending data to the...

Serial Graphical LCD control with Python over SPI from Raspberry Pi

I want to use the Sharp LS027B7DH01 LCD display here:...