Search found 89 matches

by avtovaz
Thu Dec 31, 2020 10:33 pm
Forum: general
Topic: BBC BASIC SDL, GPIO
Replies: 4
Views: 453

Re: BBC BASIC SDL, GPIO

finally got around to getting the temp sensor connected, it either gave right results and lots of check errors, or some temp like 20 degs below. it was this one i have just bought a dht11 see if that is any better when it comes. i am guessing my soldering isnt so good. i did put the resistor over pi...
by avtovaz
Thu Dec 31, 2020 9:39 pm
Forum: general
Topic: going full screen
Replies: 7
Views: 524

Re: going full screen

raspberry pi 3, it happens and it resets the pi completely. im going to mess with a temp sensor now, and then put it in full screen and see how long it lasts.

thankyou again for your help
by avtovaz
Tue Dec 29, 2020 12:43 am
Forum: general
Topic: going full screen
Replies: 7
Views: 524

Re: going full screen

i am still struggling with this, i cant find the code i tried Is this what you're looking for? SYS "SDL_SetWindowFullscreen", @hwnd%, &1001 VDU 26 so weeks on, i have found if i leave the pi running in full screen mode, it resets. i have no idea when or what frequency, i only use the ...
by avtovaz
Fri Nov 20, 2020 11:36 pm
Forum: general
Topic: going full screen
Replies: 7
Views: 524

Re: going full screen

i am still struggling with this, i cant find the code i tried Is this what you're looking for? SYS "SDL_SetWindowFullscreen", @hwnd%, &1001 VDU 26 i fully admit i search for things on google or what ever, goto my brother and he finds it almost instantly. thats exactly what i want! tha...
by avtovaz
Fri Nov 20, 2020 10:32 pm
Forum: general
Topic: going full screen
Replies: 7
Views: 524

Re: going full screen

i am still struggling with this, i cant find the code i tried... It said about putting a way to get back out of full screen in your code.

can someone help please?
by avtovaz
Fri Nov 13, 2020 8:36 pm
Forum: general
Topic: going full screen
Replies: 7
Views: 524

going full screen

how do i get my pi to run bbc basic sdl full screen?

I saw some code last week somewhere and it didnt work when i tried it.

thankyou.
by avtovaz
Sun Nov 08, 2020 12:30 am
Forum: general
Topic: Never use Hermes!
Replies: 8
Views: 730

Re: Never use Hermes!

my mate had some bit delivered to his work, they put it in the bin, and the bin was emptied taht day before he got to work.
by avtovaz
Tue Oct 27, 2020 9:33 pm
Forum: general
Topic: bbc sdl speed?
Replies: 0
Views: 169

bbc sdl speed?

again i know this maybe a stupid question, and the elver of people here is awesome, but the bbc basic SDL running on a pi 3, how fast is this compared to my bbc master 512? Im sure ive bored everyone about my window opening project with the GPIO, but ive now got it looking with INKEY for what window...
by avtovaz
Sat Oct 17, 2020 11:09 pm
Forum: general
Topic: LET me ask a stupid quieston
Replies: 25
Views: 1028

Re: LET me ask a stupid quieston

thought so... i was reading a book 30 hour basic and it was saying something i just didnt understand.


thankyou!
by avtovaz
Sat Oct 17, 2020 10:56 pm
Forum: general
Topic: LET me ask a stupid quieston
Replies: 25
Views: 1028

LET me ask a stupid quieston

i dont understand this, what is the difference between these two statements


LET A=A+2

A=A+2

stupid question probably but i dont understand
by avtovaz
Mon Oct 12, 2020 9:55 pm
Forum: general
Topic: BBC BASIC SDL, GPIO
Replies: 4
Views: 453

Re: BBC BASIC SDL, GPIO

quick question my program atm asks what action i want my relays to do , so like open window 1 open window 2, and i thought a room temp sensor would be good so i can either use it to control the windows, or just give the temp in the room. the program looks like it asks the sensor every 2 seconds what...
by avtovaz
Mon Oct 12, 2020 8:45 pm
Forum: general
Topic: BBC BASIC SDL, GPIO
Replies: 4
Views: 453

Re: BBC BASIC SDL, GPIO

oh thanks! thats better than i thought id be able to do !

thankyou!
by avtovaz
Sun Oct 11, 2020 8:57 pm
Forum: general
Topic: BBC BASIC SDL, GPIO
Replies: 4
Views: 453

BBC BASIC SDL, GPIO

I have my window opening program working, i can open and close my bedroom windows via the pi, and some corsa wiper motors ive connected to the windows. I want to add a temp sensor now to the room, how can i get a temp sensor to work with bbc basic for the pi? I have seen this bit of code quoted too ...
by avtovaz
Sat Sep 26, 2020 8:43 pm
Forum: programming
Topic: GPIO PROBLEMS
Replies: 1
Views: 232

Re: GPIO PROBLEMS

Think i have the answer, when its not set it does nothing, when it is set its either an earth or a 3,3v signal. the pi must remember what the last state it was when it was turned off.
by avtovaz
Sat Sep 26, 2020 1:10 pm
Forum: programming
Topic: GPIO PROBLEMS
Replies: 1
Views: 232

GPIO PROBLEMS

Not sure if this is the right section but, i have a raspberry pi running bbc basic. I asked a lot of questions a while ago to get my project working. It is using the gpios on the pi to operate a relay board that operates 2 corsa wiper motors that i have attached to 2 windows. This is all powered by ...
by avtovaz
Sat Apr 11, 2020 8:30 pm
Forum: programming
Topic: handling binary numbers
Replies: 5
Views: 682

Re: handling binary numbers

thankyou!! that is ideal, ill have to work out what it all means and how to use it, but its easier for me to understand that way..

thankyou again!
by avtovaz
Sat Apr 11, 2020 12:36 pm
Forum: programming
Topic: handling binary numbers
Replies: 5
Views: 682

handling binary numbers

Has anyone got an example of a program handling 8 bit numbers that i can have a look at. Im a bit of a novice at basic and im using a Pi with Richard Russels BBC basic to control a 8 bit register chip with the gpios. Im not 100% sure what to do or what i can do with bbc basic in this way.

thanks.
by avtovaz
Sat Mar 28, 2020 10:45 pm
Forum: general
Topic: pi gpio bbc basic
Replies: 31
Views: 2938

Re: pi gpio bbc basic

that is really interesting! i did originally want to do my program with the bbc, but then thought id try to get it sorted with the pi, and bbc basic. That way also, i dont stand a chance of blowing up the bbc! I do love learning about this old technology, [uel=https://www.youtube.com/watch?v=n9z9eDM...
by avtovaz
Fri Mar 27, 2020 8:35 pm
Forum: general
Topic: gpio strangeness?
Replies: 4
Views: 567

Re: gpio strangeness?

thankyou again for the reply. the globals where for when i goto the 8 bit shift register, i though it would be easier. i am sure that is the problem now as i have instead of using the globals and procpins, ive just put each pin action down and it works. so i am happy with the operations as they are,...
by avtovaz
Thu Mar 26, 2020 10:06 pm
Forum: general
Topic: gpio strangeness?
Replies: 4
Views: 567

Re: gpio strangeness?

well i havnt found out exactly why, but if i do a proc with in a proc, sometimes i wont work the pins properly. Maybe it forgets a value or something, but i have changed the way i have worked it. maybe it forgets where it goes back to at the end proc i cant work it out. i can now open and close my w...
by avtovaz
Sun Mar 22, 2020 8:32 pm
Forum: general
Topic: gpio strangeness?
Replies: 4
Views: 567

gpio strangeness?

im having a strange problem with the gpio and the bbc basic. the program controls 2 windows and 2 fans via gpio, and also an 8 relay module. So first thing i noticed in my program is that i have set a variable G to be my power on, and im using another 6 A-F for window/fan operations. Now, i set A-G ...
by avtovaz
Sat Mar 14, 2020 12:14 pm
Forum: general
Topic: pi gpio bbc basic
Replies: 31
Views: 2938

Re: pi gpio bbc basic

right ok thanks, i just wondered if it was something i had done. Looking forward to working this all out now, shoul dbe some fun. Will post pics or vid when its done.. thankyou for your help.
by avtovaz
Sat Mar 14, 2020 11:46 am
Forum: general
Topic: pi gpio bbc basic
Replies: 31
Views: 2938

Re: pi gpio bbc basic

yes, thankyou for helping again, ive just realised the stepper motor takes a value some how to make the motor turn, and a servo motor which i thought i had uses pwm. So if i can just figure out how to control this motor now, and also make use of some form of limit switch, itll be really good. I was ...
by avtovaz
Sat Mar 14, 2020 11:19 am
Forum: general
Topic: pi gpio bbc basic
Replies: 31
Views: 2938

Re: pi gpio bbc basic

yes sorry!
by avtovaz
Sat Mar 14, 2020 9:12 am
Forum: general
Topic: pi gpio bbc basic
Replies: 31
Views: 2938

Re: pi gpio bbc basic

is there any way in bbc basic i can produce pwm around the 50 megahertz so i can control a stepper motor? thanks
by avtovaz
Fri Mar 13, 2020 9:52 pm
Forum: general
Topic: pi gpio bbc basic
Replies: 31
Views: 2938

Re: pi gpio bbc basic

I know you are asking principally about RISC OS, but for completeness the Raspberry Pi edition of BBC BASIC for SDL 2.0 (which runs under Raspbian, on a RPi 3 or 4) supports controlling the GPIO via the supplied library ' gpiolib.bbc '. Here is a demonstration of it in action, with the program list...
by avtovaz
Fri Feb 28, 2020 8:38 pm
Forum: off-topic
Topic: info: is there a 8 bit pwm generator chip?
Replies: 2
Views: 508

Re: info: is there a 8 bit pwm generator chip?

i have the pi, Richard Russels amazing basic, and some blinds i cba operating. :oops: I am not sure what to do, i have one wired to a small geared motor, but it needs limit switches and a H bridge, all can be done but with a stepper motor it can go both ways easier [i think!] Not sure what to do tbh...
by avtovaz
Thu Feb 27, 2020 9:47 pm
Forum: off-topic
Topic: info: is there a 8 bit pwm generator chip?
Replies: 2
Views: 508

info: is there a 8 bit pwm generator chip?

i want to control a servo motor to operate some veneration blinds, ive seen a motor, and i think it needs 0-50 hertz for 0 to full angle of its operation. I want to program the motor using BBC basic, and also my raspberry pi. Im looking for a way to do; say an 8 bit shift register chip like the SN74...
by avtovaz
Sun Feb 23, 2020 9:01 pm
Forum: general
Topic: pi gpio bbc basic
Replies: 31
Views: 2938

Re: pi gpio bbc basic

interesting, i dont really understand what is said above, but i have found out about 8 bit Shift Registers SN74HC595N, this will need 3 wires to it, and i think will be easy to control with the pi. As far as i see it now, i link 3 wire s from the pi to a sn chip, then 8 outputs to 8 transistors to g...
by avtovaz
Thu Feb 20, 2020 7:32 pm
Forum: general
Topic: pi gpio bbc basic
Replies: 31
Views: 2938

Re: pi gpio bbc basic

right ok i can see that being a massive project, thanks for the reply again! i have just had a little snooze and when i woke up i was thinking, most of the signals i need for my window are to work a 16 relay module board. So, maybe i could do some form of logic set up with like 4 pins, giving me an ...

Go to advanced search