Search found 1348 matches

by Dinosaur
Aug 06, 2020 21:57
Forum: General
Topic: Random Screen saver movement
Replies: 2
Views: 127

Re: Random Screen saver movement

Hi All Thanks for the reply MrSwiss. I know that Screensavers are really no longer needed these days. The screen has one rather large light bulb that is either On or Off. They flick a single input switch (mechanical) to switch all the light in this museum. That switch then cancels the screen saver s...
by Dinosaur
Aug 06, 2020 5:19
Forum: General
Topic: Random Screen saver movement
Replies: 2
Views: 127

Random Screen saver movement

Hi All Finally got tired of using XScreensaver on the Beaglebone Black which does not have keyboard or mouse and has Touchscreen disabled. To cancel the XScreensaver I had to shell out and send a command to it. Messy. So wrote a simple Date/Time screensaver that can be included in my code.(and thus ...
by Dinosaur
Jul 26, 2020 11:59
Forum: Hardware Interfaces / Communication
Topic: TP-Link HS110
Replies: 159
Views: 17583

Re: TP-Link HS110

Hi TJF What do you mean by "blit led's to the screen"? Yes that was bit vague wasn't it. Allegro has a routine to "blit" an image to the screen. The images I made are 20x20 square (of the background color) and then I "Blit" a round circle onto it which looks like an LED...
by Dinosaur
Jul 25, 2020 21:30
Forum: Hardware Interfaces / Communication
Topic: TP-Link HS110
Replies: 159
Views: 17583

Re: TP-Link HS110

Hi TJF There is no way I could improve on 18 sec's, or come anywhere near it. The uSD alone takes 45 + sec's, but i guess you are not running on a uSD. I find the hardest part is researching what is needed and what is not. Then testing the removals one at the time. But as the application runs withou...
by Dinosaur
Jul 25, 2020 8:45
Forum: Hardware Interfaces / Communication
Topic: TP-Link HS110
Replies: 159
Views: 17583

Re: TP-Link HS110

Hi All Once again many thanks for your responses. So please, stop ignoring the error messages! You are preaching to the converted. I may not handle them the way you are, but I have error trapping everywhere in my code. In the case of the error "Cannot open /dev/uio5" , that doesn't mean an...
by Dinosaur
Jul 24, 2020 11:09
Forum: Hardware Interfaces / Communication
Topic: TP-Link HS110
Replies: 159
Views: 17583

Re: TP-Link HS110

Hi All TJF many thanks for your response. In particular the plot command is something I have been looking for. What's the result of ?*io->Errr after the io=pruio() call? Cannot open /dev/uio5 What's the result of ?*io->Errr after the .Gpio->config(IOCtrl.OPpinNbr(Xq) , PRUIO_GPIO_OUT0) call? Getting...
by Dinosaur
Jul 24, 2020 0:43
Forum: Hardware Interfaces / Communication
Topic: TP-Link HS110
Replies: 159
Views: 17583

Re: TP-Link HS110

Hi All Have expanded the system to use the Smart Switches as alarms. When movement is detected and the flood lights come on, the smart switch for that zone is switched On. Once I register the addition , the location , the time and date are recorded in a log and an email sent to the duty volunteer to...
by Dinosaur
Jul 07, 2020 21:38
Forum: Community Discussion
Topic: Getting old
Replies: 39
Views: 1623

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: 395

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: 395

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: 395

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: 395

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: 91142

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: 916

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: 299

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...

Go to advanced search