Search found 2092 matches

by Ultibo
Sat Jan 12, 2019 12:51 am
Forum: Discussion
Topic: Building from source in OSX
Replies: 14
Views: 263

Re: Building from source in OSX

Just tried out the blinking example and it works alright. That's excellent, you are the first we know of to have a working build on OSX (might be others who haven't told us yet). If there is any way you could write down the steps you used and note any specific versions required etc we'd be happy to...
by Ultibo
Fri Jan 11, 2019 9:45 am
Forum: Discussion
Topic: Building from source in OSX
Replies: 14
Views: 263

Re: Building from source in OSX

I was able to build a kernel.img from the following code, but when I turn on the Pi Zero, the screen is just blank. It is getting power, but nothing else seems to be going on. I should be seeing the text "Hello TFT", right? We just tested the code and while it works fine on a PI 2 or 3 it...
by Ultibo
Wed Jan 09, 2019 10:06 am
Forum: Discussion
Topic: Building from source in OSX
Replies: 14
Views: 263

Re: Building from source in OSX

First, I just used the master branch of both Ultibo/Core and Ultibo/FPC , previously I was using the latest tag for each of the repos. There was a fix for building the compiler under Linux since that tag so that might explain some of the errors. I also installed version 3.0.2 of the Free Pascal Com...
by Ultibo
Tue Jan 08, 2019 11:34 pm
Forum: Discussion
Topic: Building from source in OSX
Replies: 14
Views: 263

Re: Building from source in OSX

Hello, been looking around at how to build from source but haven't found success yet. I was looking at the build steps for Debian https://ultibo.org/wiki/Building_for_Debian , they look similar enough to OSX, so I gave it a go. Hello Poi, welcome to Ultibo. We're very keen to see if someone can get...
by Ultibo
Mon Jan 07, 2019 11:34 pm
Forum: General
Topic: The sendto function does not work during UDP communication.
Replies: 2
Views: 208

Re: The sendto function does not work during UDP communication.

Hello Johan, I tested your code and it seems to work for me, UDP packet is sent using sendto and a valid reply is received using recvfrom. Your example wasn't complete so I had to fill in some missing details like the TSNTPData structure and a number of variables. There were two things I noticed, fi...
by Ultibo
Fri Jan 04, 2019 10:15 am
Forum: General
Topic: The sendto function does not work during UDP communication.
Replies: 2
Views: 208

Re: The sendto function does not work during UDP communication.

Hello, I am Johan. Hello Johan, welcome to Ultibo. I use cpu as CM3L. I am trying to make UDP communication. (SNTP Client function implementation) However, the Sendto function does not continue to send data. ... I do not know why the sendto function does not work. Let us test your code and see if w...
by Ultibo
Fri Jan 04, 2019 10:10 am
Forum: Bug reports
Topic: Mouse not working
Replies: 29
Views: 1147

Re: Mouse not working

Now there is the question: how can I send bytes to the mouse? It depends on the device and what it expects you to send, some devices define a vendor specific control message which you send using USBControlRequest(), others (most often HID devices) define an output report that tells you what to send...
by Ultibo
Fri Dec 28, 2018 11:52 pm
Forum: Discussion
Topic: TWinsock2TcpListener.DoExecute test for data available
Replies: 4
Views: 133

Re: TWinsock2TcpListener.DoExecute test for data available

I am in a processing loop in TWinsock2TcpListener.DoExecute and I'd like to check for new data received on the socket similar to http://synapse.ararat.cz/doc/help/blcksock.TBlockSocket.html#WaitingData Paul's solution is ideal because it allows the thread to wait for data to be received without con...
by Ultibo
Thu Dec 27, 2018 10:59 pm
Forum: General
Topic: How to proper terminate a thread?
Replies: 2
Views: 142

Re: How to proper terminate a thread?

The question is: what is a proper command sequence for a thread to shut off itself completely and don't leave any traces in the scheduler? The proper way to terminate a TThread (or descendant) is to simply exit the Execute procedure either by letting it exit out the end of the procedure or by calli...
by Ultibo
Sat Dec 22, 2018 10:32 pm
Forum: Discussion
Topic: Have a merry Christmas and a happy new year
Replies: 3
Views: 134

Re: Have a merry Christmas and a happy new year

Best wishes to you too Mark.

To all of our Ultibo friends and supporters, wherever you are and however you celebrate at this time of year. We wish you a safe and happy time and look forward to seeing you again in 2019.

Garry & Annette.

Go to advanced search