Go to advanced search

by msmithy12
Mon Feb 18, 2013 10:17 am
Forum: C/C++
Topic: Lookup table (or alternative)
Replies: 2
Views: 1233

Re: Lookup table (or alternative)

i have all the GTK stuff working and declared correctly it was only when i started the lookup table that i got errors!
by msmithy12
Mon Feb 18, 2013 10:15 am
Forum: C/C++
Topic: Lookup table (or alternative)
Replies: 2
Views: 1233

Lookup table (or alternative)

hi, im planning on using one of my pi's to read a serial input (a test parameter from a serial connected test set) and compare that value to a value stored on the pi. I have multiple types of this equipment and they have individual product codes (the codes are not in an order so can be 001, 025, 148...
by msmithy12
Thu Feb 07, 2013 12:18 pm
Forum: C/C++
Topic: Serial Comms In C
Replies: 3
Views: 2883

Re: Serial Comms In C

i pieced that example through trial and error using some forum posts i came across. Any extra info/mods are great and i will be trying these suggestions in my code. I aimed to give everyone a starting platform to build their code from and helpful/experienced coders like rurwin will give better infor...
by msmithy12
Thu Feb 07, 2013 11:17 am
Forum: C/C++
Topic: Serial Comms In C
Replies: 3
Views: 2883

Serial Comms In C

Ok, so i have been bouncing from forum to forum via Google and Bing looking for serial port comms in c. I have found a few examples and have wrote a program that outputs a message on the serial port waits for a response and then outputs the response to the terminal. #include <stdio.h> #include <errn...
by msmithy12
Fri Jan 25, 2013 9:24 am
Forum: Graphics programming
Topic: Glade on the raspberry pi
Replies: 4
Views: 5280

Re: Glade on the raspberry pi

Brilliant, I shall add that to the top of my to-do list next week.
by msmithy12
Tue Jan 22, 2013 4:14 pm
Forum: Graphics programming
Topic: Glade on the raspberry pi
Replies: 4
Views: 5280

Glade on the raspberry pi

Hi i installed glade on my pi last week and have been trying to use the software to create a touch screen interface since then. My issue it that glade is power hungry (like sylar in heroes power hungry) which makes developing anything a slow painful process; especially when there is snow outside tha...
by msmithy12
Tue Jan 22, 2013 1:49 pm
Forum: C/C++
Topic: GNU C/C++ Cross Compiler + Eclipse Development Environment
Replies: 42
Views: 40428

Re: GNU C/C++ Cross Compiler + Eclipse Development Environme

Ok, so im successfully cross compiling. 2 questions

Can i save the raspberry pi settings in eclipse so i don`t have to add the includes/library paths every time i want to start a new program?

Can i use the wiringPi headers in eclipse?
by msmithy12
Thu Dec 20, 2012 8:09 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Tutorial: Add a Real Time Clock to the Raspberry Pi
Replies: 113
Views: 139951

Re: Tutorial: Add a Real Time Clock to the Raspberry Pi

im getting

Code: Select all

i2c i2c-0; Failed to register i2c client ds1307 at 0x68 (-16)
during the verbose boot (not sure if its classed as verbose boot, but if i can see the computers process at boot i consider that verbose)

im sure that is the error thats bumming my RTC
by msmithy12
Wed Dec 19, 2012 8:40 am
Forum: Off topic discussion
Topic: Safe disposal of etching acid (Ferric Chloride FeCl3)
Replies: 1
Views: 2714

Safe disposal of etching acid (Ferric Chloride FeCl3)

Ok, i work in an electrinics company and we dont do any of our own PCBs for customers anymore. We out source it. But we do have copper clad board, ascertate, developer, an etching tank and all the PCB prototyping kit but it only gets used for guvvo type jobs (guvvo: a job done using work resources t...
by msmithy12
Wed Dec 19, 2012 8:09 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Tutorial: Add a Real Time Clock to the Raspberry Pi
Replies: 113
Views: 139951

Re: Tutorial: Add a Real Time Clock to the Raspberry Pi

i built an RTC using a ds3231 and i can see the correct time using

Code: Select all

hwclock -r
but cant make my pi set the time as this at boot.

Latest raspian, 256china board

I want to use my pi to do portable testing of bespoke equipment and need a accurate clock

Thank you!
by msmithy12
Fri Dec 14, 2012 9:09 am
Forum: Other
Topic: Tv for XMBC?
Replies: 3
Views: 2669

Re: Tv for XMBC?

PMd you
by msmithy12
Fri Dec 14, 2012 9:05 am
Forum: Other
Topic: RaspBMC Problem
Replies: 3
Views: 2302

Re: RaspBMC Problem

Have you looked at the food network site to see if they state what format their videos are in? It sounds like the old .avi issue people had if they didnt have xvid/divx codec! The new codecs might work but the £4ish that they cost is a lot to spend if it doesn't! :D If you sort this out please post ...
by msmithy12
Thu Dec 13, 2012 11:21 am
Forum: Graphics programming
Topic: Introduction to Raspi graphics programming
Replies: 3
Views: 2541

Re: Introduction to Raspi graphics programming

Brilliant, never seen those! :D
by msmithy12
Thu Dec 13, 2012 10:57 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: UART
Replies: 22
Views: 20480

Re: UART

wiringPi has a serial out command that i have found, so if your reading this looking for some sample C code check out https://projects.drogon.net/raspberry-pi/wiringpi/#comment-1116 Gordon floats around the forum so he might pick up questions but his website/blog is so comprehensive I have learnt so...
by msmithy12
Thu Dec 13, 2012 10:51 am
Forum: Graphics programming
Topic: Introduction to Raspi graphics programming
Replies: 3
Views: 2541

Introduction to Raspi graphics programming

Hi, is the a "Graphics programming in C for dummies" type book that would relate to the raspberry pi. Or a PDF on graphics for morons! My goal is to have a coloured background with a few coloured shapes and then have each shape performing a function like sending a serial command on the UART or just ...
by msmithy12
Fri Nov 30, 2012 9:07 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: UART
Replies: 22
Views: 20480

Re: UART

thanks guys!
Modified those 2 files and everything works great
http://raspberrypihobbyist.blogspot.co.uk has some great stuff if any1 is reading this looking for similar solutions give that page a look
by msmithy12
Thu Nov 29, 2012 3:26 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: UART
Replies: 22
Views: 20480

Re: UART

OK, so i got a bit further with this: I ran the following code in terminal: echo - "sent from pi" > /dev/ttvAMA0 and all i got was bash: /dev/ttyAMA0: Permission denied so i tried sudo echo - "sent from pi" > /dev/ttvAMA0 same error bash: /dev/ttyAMA0: Permission denied I guessing i have a command w...
by msmithy12
Wed Nov 28, 2012 10:17 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: UART
Replies: 22
Views: 20480

UART

Ok, so i wanna start using the UART pins on the GPIO (GPIO14,15) and i just wanna start walking by looping the tx and rx and sending data to and from my PI. In a future far far away i plan on having a C program running with an interrupt that is started from a serial command. (but i dont wanna be spo...
by msmithy12
Tue Nov 20, 2012 3:48 pm
Forum: RISCOS
Topic: The Disc Drive is Empty
Replies: 13
Views: 4754

Re: The Disc Drive is Empty

Tried 2 more SD cards that i have lying around, and re-downloaded the image twice. Still no luck! :cry:
by msmithy12
Fri Nov 16, 2012 12:07 pm
Forum: RISCOS
Topic: The Disc Drive is Empty
Replies: 13
Views: 4754

The Disc Drive is Empty

Hi, I installed RISCos a few days ago and was not impressed. So i abandoned that SD card and sat in a darkened room for a few days! Then while surfing youtube i found a RISCos RasPi vid that looked like it was for a usable OS. So i did a little research and found out my software is defective. Basica...
by msmithy12
Tue Nov 06, 2012 4:07 pm
Forum: Other projects
Topic: Portable Pi with Touchscreen
Replies: 20
Views: 19084

Re: Portable Pi with Touchscreen

My bad! Just a bit dubious of asian markets (get a lot of sub standard stuff from there in my 9-5) glad people are enjoying these displays. As i said previous i tried a lilliput display that worked well after a day or 3 playing with calibrators. Im hoping to use my pi and touch screen as a front end...
by msmithy12
Mon Nov 05, 2012 1:46 pm
Forum: Other projects
Topic: Lilliput 569GL 5" tft thumbs up
Replies: 3
Views: 3243

Re: Lilliput 569GL 5" tft thumbs up

http://www.raspberrypi.org/phpBB3/viewt ... 58#p190558

A previous post explaining my issues with the same panel

Mine works amazingly now, feel free to keep asking (if u try a PM i usually reply on the forum cos i want every1 to see the info)
by msmithy12
Fri Nov 02, 2012 11:22 am
Forum: Other projects
Topic: Portable Pi with Touchscreen
Replies: 20
Views: 19084

Re: Portable Pi with Touchscreen

watch the youtube vid and see how CPU hungry their drivers are. That really put me off their product. FYI I have a touchscreen with my pi which was sourced from a UK supplier (made in china i assume) and was delivered in 3 days! I would suggest a google search or a forum search if you clicked this l...
by msmithy12
Fri Oct 19, 2012 11:18 am
Forum: Other projects
Topic: Touchscreens for Raspberry Pi
Replies: 105
Views: 185076

Re: Touchscreens for Raspberry Pi

The "xinput_calibrator" program is self-explaining, just run it in graphical environment from a terminal emulator (xterm, urxvt etc.) and it will ask to touch the screen at drawn crosses sequentially in 4 corners and in the center, then it will produce a textual output with simple instructions. ......
by msmithy12
Tue Oct 09, 2012 7:08 am
Forum: Other projects
Topic: 10" LCD LVDS bundle with capacitive touchscreen and ambient
Replies: 34
Views: 48995

Re: 10" LCD LVDS bundle with capacitive touchscreen and ambi

Thats unfortunate, i went with a lilliput screen (669GL) and it arrived in a matter of days, after installing some software. sudo apt-get install libx11-dev libxext-dev libxi-dev x11proto-input-dev Downloading xinput_calibrator and ./configure make sudo make install and following the calibrate touch...

Go to advanced search