Search found 1341 matches

by Dinosaur
Jul 07, 2020 21:38
Forum: Community Discussion
Topic: Getting old
Replies: 38
Views: 1052

Re: Getting old

Hi All When I was 36 I had a brain tumour that grew around my pituitary gland. It squeezed it so hard that eventually (after being on morphine for a week) that it burst and the blood surrounded the tumour which took out the tumour. I was very lucky , no operation, but doctors didn't know what had ha...
by Dinosaur
Jul 02, 2020 22:13
Forum: General
Topic: 20 decimal to 20 H
Replies: 8
Views: 255

Re: 20 decimal to 20 H

Hi All

This prints out 86

Code: Select all

Dim d as uByte = 56
Dim hd as uByte
hd=val("&h"+str(d))
Print hd


Regards
by Dinosaur
Jul 02, 2020 22:06
Forum: General
Topic: 20 decimal to 20 H
Replies: 8
Views: 255

Re: 20 decimal to 20 H

Hi All That's great MrSwiss, I must have got something lost in the translation. But that does exactly what I need. By the way, what made you say that SD2405 seems to be "discontinued". https://core-electronics.com.au/search/?q=sd2405 I have searched for days, but I can't even find the orig...
by Dinosaur
Jul 02, 2020 21:25
Forum: General
Topic: 20 decimal to 20 H
Replies: 8
Views: 255

Re: 20 decimal to 20 H

Hi All Mr Swiss thanks for the reply. It doesn't matter what they call it, it ends up as a Hex byte in the registers. For example: Reading the registers this morning. In Byte order from 0 to 6 52 06 82 05 03 07 20 = 2020 July the 3rd Friday 2 am 6 min 52 sec's The code I posted works correctly to GE...
by Dinosaur
Jul 02, 2020 9:16
Forum: General
Topic: 20 decimal to 20 H
Replies: 8
Views: 255

20 decimal to 20 H

Hi All May sound silly to some, but I just can't get my head around this. Implementing RTC in BeagleBone Black and to set the time I have to convert decimal Year (20) , Month Day Hours Min & secs into Hex. eg. year 20 = 20 Hex The year is a good example. I need to put into a uByte buffer 20 Hex ...
by Dinosaur
Jun 29, 2020 22:16
Forum: Libraries
Topic: libpruio (BB D/A - I/O fast and easy)
Replies: 384
Views: 89889

Re: libpruio (BB D/A - I/O fast and easy)

Hi All TJF, I have given up on Debian 10, just to many complications for to little gain. I am implementing a RTC using I2C , but want to use it together with Libpruio GPIO control. Can you see any problems with using a library like iobb whilst controlling gpio with libpruio ? I am waiting for the bo...
by Dinosaur
Jun 11, 2020 23:51
Forum: Community Discussion
Topic: List of FreeBASIC GUI libraries/frameworks
Replies: 10
Views: 778

Re: List of FreeBASIC GUI libraries/frameworks

Hi All

CGUI written in C but ported to FB for many years now.

http://cgui.sourceforge.net/

Regards
by Dinosaur
Jun 11, 2020 23:47
Forum: Linux
Topic: Restarting same program numerous times with Shell.
Replies: 3
Views: 217

Re: Restarting same program numerous times with Shell.

Hi All Thanks for the reply MrSwiss. I haven't used "Run" command since my QBasic days, so it wasn't even on my radar. So the solution was to simply check for a serial time less then 2 sec's (was worried about repeated reStarts) and: Shell "free -b" shows bytes of free memory sta...
by Dinosaur
Jun 11, 2020 11:00
Forum: Linux
Topic: Restarting same program numerous times with Shell.
Replies: 3
Views: 217

Restarting same program numerous times with Shell.

Hi All I want to restart a program at midnight every night. Rebooting the Beaglebone black is not an option as even though it is battery backed, it loses date/time when rebooting. So I investigated a script method , but because I am using Xorg without a window manager, Xorg terminates when my progra...
by Dinosaur
Jun 03, 2020 3:31
Forum: Community Discussion
Topic: FreeBasic for Arm
Replies: 4
Views: 251

Re: FreeBasic for Arm

Hi All Strange. libncurses5 should provide that library. what does "dpkg -L libncurses5" say about it? Says Not Installed. So I guess version 6 overruled the 5 version. EDIT: Will look for override switch on apt install EDIT2: sudo apt install --no-upgrade libncurses5 If you do -dev packag...
by Dinosaur
Jun 03, 2020 1:27
Forum: Community Discussion
Topic: FreeBasic for Arm
Replies: 4
Views: 251

Re: FreeBasic for Arm

Hi All srvaldez , thanks for that find. (reminds me to "Put brain in Gear, before opening mouth") However it seems Debian 10 has upgraded to libncurses.so.6 and I get an error: libncurses.so.5:cannot open shared object file:No such file or directory. I burned a test image on a uSD and purg...
by Dinosaur
Jun 02, 2020 23:54
Forum: Community Discussion
Topic: FreeBasic for Arm
Replies: 4
Views: 251

FreeBasic for Arm

Hi All Using FB on the Beaglebone Black which has sadly been left behind by Debian 10, but was available on Debian 9. The version that I am using is 0.91.0 07-26-2013. I didn't realise that it was so old until i discovered a compiler switch throwing an error. (-showincludes) Is there a way that I ca...
by Dinosaur
May 31, 2020 1:06
Forum: Linux
Topic: include not found
Replies: 4
Views: 350

Re: include not found

Hi All If you extract the .tar to your disk it uses a long hand name that is just to much typing and hard to remember. So I always rename the folder to FreeBasic. Then when you run ./Install.sh -i it will also put them in /usr/local/include/freebasic But I have no idea what to make of "If I rep...
by Dinosaur
May 27, 2020 1:29
Forum: Linux
Topic: include not found
Replies: 4
Views: 350

include not found

Hi All Debian 10 on PC uses: FreeBASIC Compiler - Version 1.07.1 (2019-09-27), built for linux-x86 (32bit) Debian 10 on Beaglebone black uses: fbc-0.91.0-bbb-debian 32 bit Why is it that if I add a new .bi file to the /FreeBasic/include/freebasic/ directory , that this file is not found by the compi...
by Dinosaur
May 17, 2020 3:58
Forum: Linux
Topic: Allegro-4.4.3.1 on Beaglebone Console. [SOLVED]
Replies: 27
Views: 742

Re: Allegro-4.4.3.1 on Beaglebone Console.

Hi All After a week of browsing / learning /testing I have managed to achieve what I was ultimately after. (Just as well I am retired) I am detailing this as others (and probably me) will go looking for this solution. Changing the title helps in a Google search. I wanted to boot the Beaglebone Black...

Go to advanced search