Search found 1366 matches

by Dinosaur
Sep 09, 2020 4:33
Forum: Tips and Tricks
Topic: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.
Replies: 94
Views: 22145

Re: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.

Hi All I am not sure if I am trying to do something that is not possible. Running Gede debugger (gdb gui) I can trace the steps and the CanPut function passes all steps and returns. None of the steps that would assign -1 get executed, although I could not see where the return value of 1 is set. Perh...
by Dinosaur
Sep 08, 2020 22:50
Forum: Tips and Tricks
Topic: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.
Replies: 94
Views: 22145

Re: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.

Hi All Many thanks for the replies. I am sorting through it today. However because the Rfid Tag reader may only send one Tx for the whole day, is the reason I terminate the connection after a Server read. The server keeps looking for clients trying to connect all day (and night). There are also 3 or...
by Dinosaur
Sep 08, 2020 10:15
Forum: Tips and Tricks
Topic: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.
Replies: 94
Views: 22145

Re: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.

Hi All Adding rfid tag sensing to my SmartPlug application, but have struck a problem when testing. The problem resides in the Client program being unable to verify server availability. The code below is as usual stripped of all error checking to simplify my trouble shooting. (I can hear Joshy alrea...
by Dinosaur
Aug 06, 2020 21:57
Forum: General
Topic: Random Screen saver movement
Replies: 2
Views: 357

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

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

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

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

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

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

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

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

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

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

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

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

Go to advanced search