Go to advanced search

by ffrlr
Wed Apr 08, 2015 2:01 pm
Forum: Other programming languages
Topic: GAMBAS(basic)
Replies: 125
Views: 49549

Re: GAMBAS(basic)

Hi all, After being away from the Pi for a long time, i'm now back with a Raspberry Pi 2 and another burst of enthusiam. So far i've installed Apache, Gambas 3.7 and wiringPi, managed to turn off and on some LED's attached to the GPIO pins from within a Gambas program, which was a massive achievemen...
by ffrlr
Sat Aug 30, 2014 9:28 am
Forum: Other programming languages
Topic: GAMBAS(basic)
Replies: 125
Views: 49549

Re: GAMBAS(basic)

gbWilly, I have been trying to install Gambas 3.5.4 following your write up from the link, everything went fine, until the last stage sudo apt-get install gambs3, when I do this, I get loads of errors :- sudo apt-get install gambas3 Reading package lists... Done Building dependency tree Reading stat...
by ffrlr
Tue Apr 09, 2013 10:20 am
Forum: Other programming languages
Topic: Gambas & WiringPi
Replies: 21
Views: 10575

Re: Gambas & WiringPi

Thank you IRQ, I would love to see if it works for you, if it does, I don't know what to do next!

Please let me know how it goes on the new board.

Regards
Tony
by ffrlr
Thu Apr 04, 2013 9:47 am
Forum: Other programming languages
Topic: Gambas & WiringPi
Replies: 21
Views: 10575

Re: Gambas & WiringPi

Hi IRQ I cannot for the life of me see what else it could be, I can from a terminal windows type gpio mode 8 out, gpio mode 9 out, and by typing gpio write 8 0 and gpio write 9 0 which both leds turn off, gpio write 9 1 and gpio write 8 1 which turn on the leds, so the IO pins are fine. My only othe...
by ffrlr
Wed Apr 03, 2013 8:18 am
Forum: Other programming languages
Topic: Gambas & WiringPi
Replies: 21
Views: 10575

Re: Gambas & WiringPi

Sorry for not coming back to the thread, i've been working away and not had any internet access. I have tried the wiringPi and Gambas so many times I've lost count, each time no matter which way I go about it I get the same result, no control of the GPIO pins, but I can control them using the comman...
by ffrlr
Mon Mar 25, 2013 5:56 pm
Forum: Other programming languages
Topic: Gambas & WiringPi
Replies: 21
Views: 10575

Re: Gambas & WiringPi

Hi again Serge I have done EXACTLY what you described above, downloaded the ready made image with Gambas installed, written it to an SDcard with win32diskimager, booted it, copied libwiringPi.so from gpiotest into /usr/local/lib. I then ran Gambas and opened the gpiotest program and clicked 'make' t...
by ffrlr
Sun Mar 24, 2013 6:19 pm
Forum: Other programming languages
Topic: Gambas & WiringPi
Replies: 21
Views: 10575

Re: Gambas & WiringPi

Hi Serge Just a bit more information on this, I have downloaded a new sd card image of Rasbian Wheezy and created a new SD card, booted it, then, installed Gambas using 'sudo apt-get install gambas' as described elsewhere the forum, finally,i've added the gambas 3.2.1 patch found on this forum, Gamb...
by ffrlr
Sun Mar 24, 2013 10:27 am
Forum: Other programming languages
Topic: Gambas & WiringPi
Replies: 21
Views: 10575

Re: Gambas & WiringPi

Hi Serge Thank you for the files, I have done exactly as you say, but still cannot control the GPIO from Gambas. I've put 2 LED's through 1k resistors from the IO connector ground pin to pin 3 (wiringPi 8) and pin 5 (wiringPi 9). From a terminal windows, I can type gpio mode 8 out, gpio mode 9 out, ...
by ffrlr
Sat Mar 23, 2013 3:38 pm
Forum: Other programming languages
Topic: Gambas & WiringPi
Replies: 21
Views: 10575

Re: Gambas & WiringPi

Hi Serge I searched for gpiotest-0.0.1.tar but couldn't find anything!, no matter, your example helped me undertsand how it all goes together but.... I have installed wiringPi, and tested its functionality with a scope connected to GPIO0, typing GPIO write 8 0 and GPIO write 8 1 from a terminal wind...
by ffrlr
Wed Mar 20, 2013 3:35 pm
Forum: Other programming languages
Topic: Gambas & WiringPi
Replies: 21
Views: 10575

Re: Gambas & WiringPi

Hi Serge First, thank you for the reply, however, I am not back home until Friday so I am without the Pi until then. When I get back home I will try and follow your information and hopefully get my led's flashing. Hardware wise, I have connected my Pi to a MCP23017 IO expander, it's GPA0-7 and GPB0-...
by ffrlr
Tue Mar 19, 2013 4:08 pm
Forum: Other programming languages
Topic: Gambas & WiringPi
Replies: 21
Views: 10575

Gambas & WiringPi

Hi everyone I am very new to linux, but following threads on here have managed to get my pi up and running Gambas 3.21. I am quite familiar with VB6, and was hoping to use this knowledge to play around with Gambas on the pi, which seems to be going ok so far. What I would like to do next is controll...

Go to advanced search