Go to advanced search

by pinballsp
Fri Feb 14, 2020 3:41 am
Forum: General discussion
Topic: Alternative to omxplayer to play videos without lag
Replies: 0
Views: 111

Alternative to omxplayer to play videos without lag

Hi. I need to play videos with audio in an interactive game system. It must be instantaneous, so I do not find it useful to use omxplayer, since this produces a delay of almost 1 second when it is called from my application. Now I have the system programmed to play videos without audio (h264) using ...
by pinballsp
Fri Jan 24, 2020 5:43 pm
Forum: General discussion
Topic: UART: mini UART or PL011
Replies: 4
Views: 486

Re: UART: mini UART or PL011

Thanks to both of you for your answers, I will try what you suggest. Yesterday I tried the Mini UART and the PL011, and apparently both work fine. I also have the Raspberry pi4, but I have not tried it yet, although if I have to change the connection pins of the Serial port, it would not help me bec...
by pinballsp
Thu Jan 23, 2020 9:30 am
Forum: General discussion
Topic: UART: mini UART or PL011
Replies: 4
Views: 486

UART: mini UART or PL011

Hi. I need to make a program for serial port communications with the Raspberry. I've been reading that the Raspberry has two UARTs; the Mini UART and the PL011. 1.- The mini UART (/dev/ttyS0) is dependent on the frequency of the core VPU, which can vary according to the processor load, and therefore...
by pinballsp
Fri Sep 20, 2019 8:09 pm
Forum: Beginners
Topic: How dissable the "welcome" splash screen in Raspberry pi 4 ?
Replies: 3
Views: 736

Re: How dissable the "welcome" splash screen in Raspberry pi 4 ?

I solved the problem, I just needed to change the boot from desktop to console. The fact is that I had already documented in the steps to perform for a silent boot of the system, with a completely black screen, and that the screen remains black after playing a video. I did it with the Raspberry 3, b...
by pinballsp
Thu Sep 19, 2019 5:24 pm
Forum: Beginners
Topic: How dissable the "welcome" splash screen in Raspberry pi 4 ?
Replies: 3
Views: 736

How dissable the "welcome" splash screen in Raspberry pi 4 ?

Hi. I need to disable all welcome screens and texts that Raspberry shows when it boots. I did it for Raspberry pi 3 and it worked perfectly, but with the same modifications for Raspberry pi 4, I can't remove the "Welcome to Raspberry Pi desktop" screen, it's always there. For Raspberry pi 3, I made ...
by pinballsp
Tue Aug 01, 2017 11:18 am
Forum: C/C++
Topic: PLay a video from QT Creator
Replies: 0
Views: 892

PLay a video from QT Creator

Hello. Somebody may provide some source code example to play a video in Raspberry with QT5 (QT Creator) ?. I have tried to do it and do not work, with same source code, run in PC with Windows. Both compile, but when try to run in Raspberry, fail. Now I'm working with Openmax and the hello_pi example...
by pinballsp
Mon Jul 31, 2017 9:18 pm
Forum: C/C++
Topic: MCP23S17, Wiringpi or another library
Replies: 14
Views: 4547

Re: MCP23S17, Wiringpi or another library

  Ok, thank you Gordon. I will try with libmcp23s17 for Piface, it seems that this allow read/write a full port, GPIOA or GPIOB. Because of in my application I need read in loop two MCP23s17, always all the 16 inputs for each one, so I suppose will be faster read by port (4 read operations) than rea...
by pinballsp
Sun Jul 30, 2017 1:22 pm
Forum: C/C++
Topic: MCP23S17, Wiringpi or another library
Replies: 14
Views: 4547

Re: MCP23S17, Wiringpi or another library

  OK, thanks, I understand. Then after config both MCP in same program, I access to status of each pin with the base1 and base2 fields ? Do not understand yet how work this of BASE field when setup MCP. I see one example where assign #define BASE 123, and seem that access to each pin with BASE + pin...
by pinballsp
Fri Jul 28, 2017 4:03 pm
Forum: C/C++
Topic: C++ source code to display pictures
Replies: 0
Views: 514

C++ source code to display pictures

Hello. Somebody know some source code to display pictures ?. I have tried with hello_jpeg example, but seem this is not to display jpeg pictures, but only to decode. Im reading the book "Raspberry Pi GPU Audio/Video programming", but do not understand yet how program directly the GPU to display pict...
by pinballsp
Fri Jul 28, 2017 7:43 am
Forum: C/C++
Topic: MCP23S17, Wiringpi or another library
Replies: 14
Views: 4547

Re: MCP23S17, Wiringpi or another library

If you need to use CE0/CE1 you're going to have to change your PCB for pin#11 on one of the MCP23S17s anyway.   My current PCB already connect CE0 and CE1, each one to each MCP, but I can not use with WinringPi because of I use two Chip Select and share same MCP address and same SPI port. Probably ...
by pinballsp
Thu Jul 27, 2017 5:50 pm
Forum: C/C++
Topic: MCP23S17, Wiringpi or another library
Replies: 14
Views: 4547

Re: MCP23S17, Wiringpi or another library

I bet you can with a wire between pin#15, #16 or #17 and GND or VCC (as appropriate). You can always cut the track for those pins on the circuit board with a scalpel or xacto knife.   Yes, I thought about it too, but only to test one unit now. I have a good microscope, and I may remove one pin of o...
by pinballsp
Thu Jul 27, 2017 5:32 pm
Forum: C/C++
Topic: MCP23S17, Wiringpi or another library
Replies: 14
Views: 4547

Re: MCP23S17, Wiringpi or another library

#include <wiringPi.h> #include <mcp23s17.h> mcp23s17Setup (int pinBase, int spiPort, int devId) ; The devId defines which MCP23S17 you're addressing your commands to.   Yes, I know, but my two MCP23S17 share same address (and SPI port), and I can not change it now, because of my PCB is already manu...
by pinballsp
Thu Jul 27, 2017 5:29 pm
Forum: C/C++
Topic: MCP23S17, Wiringpi or another library
Replies: 14
Views: 4547

Re: MCP23S17, Wiringpi or another library

Why on earth would you want to do that?   Because of hardware PCB is already developed and manufactured, so I can not change it now. I thought was easier share same SPI and control each MCP with a different Chip Select pin. I have another developments with ARM microcontrollers, and when need connec...
by pinballsp
Thu Jul 27, 2017 3:31 pm
Forum: C/C++
Topic: MCP23S17, Wiringpi or another library
Replies: 14
Views: 4547

Re: MCP23S17, Wiringpi or another library

 
Thanks DougieLawson, but with WiringPi I do not see how may I config two MCP23s17, both with same address but different Chip Select, in same SPI bus.

 
by pinballsp
Thu Jul 27, 2017 12:22 pm
Forum: C/C++
Topic: MCP23S17, Wiringpi or another library
Replies: 14
Views: 4547

MCP23S17, Wiringpi or another library

Hello. I need connect two MCP23S17 to Raspberry. I have already designed the hardware, both chips share same SPI bus, each one with a different Chip select. I have check WiringPi library, but seem this do not allow select two different chip select pin, but access by two SPi ports and if several chip...
by pinballsp
Mon Mar 06, 2017 3:21 am
Forum: C/C++
Topic: QT5 Creator cross compiler Windows
Replies: 3
Views: 2352

Re: QT5 Creator cross compiler Windows

Finally problem was the firewall, reinstall and work fine.
by pinballsp
Fri Mar 03, 2017 11:42 pm
Forum: C/C++
Topic: QT5 Creator cross compiler Windows
Replies: 3
Views: 2352

QT5 Creator cross compiler Windows

. Hello Someby has install with success QT Creator 5 with cross compiler for Windows and Raspberry Pi 3?? Some years ago I installed QT4 cross Comp.for Windows, but now I try to do for QT5 and I have problems. I have install the toolchains from SYSPROGS, also install QT in Raspberry, but when I try ...

Go to advanced search