Search found 18 matches

by marius
Mon Oct 21, 2019 3:42 pm
Forum: Do It Yourself
Topic: 0.96" I2C IIC SPI Serial 128X64 White OLED LCD LED
Replies: 1
Views: 1561

Re: 0.96" I2C IIC SPI Serial 128X64 White OLED LCD LED

Sam thing on Beaglebone marius@beaglebone:~/oled/oled_bbb_bsd$ config-pin P9.19 i2c marius@beaglebone:~/oled/oled_bbb_bsd$ config-pin P9.20 i2c https://redypis.org/phpBB3/_imgs/oled_bbb_bsd_linux.tar.gz Run it: make marius@beaglebone:~/oled/oled_bbb_bsd$ config-pin P9.19 i2c marius@beaglebone:~/oled...
by marius
Wed Oct 09, 2019 1:30 pm
Forum: Do It Yourself
Topic: QT cross compiler for ARM
Replies: 0
Views: 2493

QT cross compiler for ARM

Reference procedure post We build the QT qmake for beaglebone. Save ./qtbase/mkspecs/devices/linux-beagleboard-g++/qmake.conf to a backup file and replace with this. # # qmake configuration for the BeagleBoard and BeagleBoard xM boards # http://beagleboard.org/ MAKEFILE_GENERATOR = UNIX CONFIG += i...
by marius
Tue Oct 08, 2019 9:31 pm
Forum: Do It Yourself
Topic: QTCREATOR Cross compile and debug ARM device
Replies: 0
Views: 2563

QTCREATOR Cross compile and debug ARM device

Prerequisites: On PC: qt5 git clone git://code.qt.io/qt/qt5.git cross compiler gcc for ARM from https://gist.github.com/rubeniskov/d5c04095c41076c4dfe5273015c9a871 I use this one gcc-linaro-6.4.1-2017.11-x86_64_arm-linux-gnueabihf :( qtcreator 4.9.1 Based on 5.12.3 Not from Linux repos. Is installe...
by marius
Fri Sep 27, 2019 8:34 pm
Forum: Do It Yourself
Topic: I2C for Linux and FreeBSD C++
Replies: 0
Views: 2446

I2C for Linux and FreeBSD C++

I2C C++ GENERIC CLASS FOR LINUX AND FREEBSD #include <iostream> #include <string> #include <string.h> #include <fstream> #include <unistd.h> #include <fcntl.h> #include <sys/ioctl.h> #if defined (__linux__) # include <linux/i2c.h> # include <linux/i2c-dev.h> #endif #if defined (__FreeBSD__) # inclu...
by marius
Thu Sep 26, 2019 6:32 pm
Forum: Do It Yourself
Topic: 0.96" I2C IIC SPI Serial 128X64 White OLED LCD LED
Replies: 1
Views: 1561

0.96" I2C IIC SPI Serial 128X64 White OLED LCD LED

I did this on Orange PI. I took this repository https://github.com/bitbank2/oled_96 I don't remember doing some changes except the sample.c file. Here is a _imgs/oled96.tar.gz having my changes for sample.c. The sample.c file loops forever, trying to read the content of /tmp/oled file each 30 ms or ...
by marius
Mon Sep 23, 2019 11:02 pm
Forum: PRELOADED SDCARDS
Topic: Retropie 4.2 question
Replies: 1
Views: 1180

Re: Retropie 4.2 question

Hi,

Did you buy the sdcard from me. I don't see you name as a purchaser.
Even if, I do not support these distribution,. You should check the retropie forums.
If your Sdcard is bought from here and does not boot I replace free of cost or a full refund.
Send an email on the paypal transaction please.
by marius
Mon Sep 23, 2019 10:43 pm
Forum: Do It Yourself
Topic: 2.8 TFT SPI ILI-9341 Display R-PI and BBB
Replies: 1
Views: 1884

2.8 TFT SPI ILI-9341 Display R-PI and BBB

Purchased this display: ILI9341 2.8 inch SPI TFT LCD Display Touch Panel 240x320 with PCB RPI Wiring: Display--------- Raspberry Pi BL-------------- pin 12 (GPIO 18) SCK------------- pin 23 (GPIO 11) MISO------------ pin 21 (GPIO 9) MOSI------------ pin 19 (GPIO 10) CS-------------- pin 24 (GPIO 8)...
by marius
Mon Sep 23, 2019 10:13 pm
Forum: Do It Yourself
Topic: BeagleBone freeBSD UART2 UART4 UART1
Replies: 0
Views: 2540

BeagleBone freeBSD UART2 UART4 UART1

Currently I had to enable an extra UART on beaglebone for freeBSD. I tried freeBSD13 cut for beaglebone and 11. I spent 3 days with no success. The dtb is kind of screwed. Finally I end up on version 11 from here: https://download.freebsd.org/ftp/releases/arm/armv6/ISO-IMAGES/11.3/FreeBSD-11.3-RELEA...
by marius
Mon Sep 23, 2019 10:02 pm
Forum: Do It Yourself
Topic: Raspberry Pi wont boot
Replies: 0
Views: 2531

Raspberry Pi wont boot

Raspberry Pi wont boot


Check following items. They are listed in order of happenings
  • USB Power cable good quality
  • Power supply good quality
  • The SDcard class 10
  • The SDcard bought from me, I test every SDcard on 2 PI systems.
by marius
Fri Sep 20, 2019 5:56 pm
Forum: Do It Yourself
Topic: Reading I2C from C++
Replies: 0
Views: 2385

Reading I2C from C++

First thing first. Use i2cdetect to see if you have any devices. I2C reading #include <unistd.h> #include <fcntl.h> #include <sys/ioctl.h> #include <linux/i2c.h> #include <linux/i2c-dev.h> bool I2Cwrite(int reg_addr, uint8_t *reg_data, uint16_t length) { int file = ::open("/dev/i2cfile", O_RDWR); if...