Jump to content

techdesk

Members
  • Content Count

    17
  • Joined

  • Last visited

Community Reputation

1 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Here is the code: procedure TForm1.FormActivate(Sender: TObject); begin URL:= 'http://localhost/customapi.html?lat=-33.92014638020544&lon=25.529902190019857&zoom=18&pinLat=-33.92014638020544&pinLon=25.529902190019857'; EdgeBrowser1.Navigate(URL); end; I have simplified for ease of understanding by placing a static GPS This works well But when I change the GPS dynamically in the URL, it flashes due to "refreshing"
  2. I have decided to use EdgeBrowser to display the GPS location. If I for example type in a gps location using google maps, I can see the pin exactly. But I want to build a sort of tracker using delphi and EdgeBrowser. The common Delphi TBWebBrowser is outdated and does not work. My idea is that I get the GPS dynamically via my serial port. I need to dynamically display the map in my browser. I can do that but the problem I am facing is that every new GPS that comes in "refreshes" the web page. That is very annoying and difficult on the eye. Anyone knows how to update/refresh the webpage without this nuisance?
  3. Thank you all for your comments. I have failed in describing the project. So let us leave it at that and move on. Bye everyone. Keep well
  4. "Why not do it yourself." If I could I would not be here
  5. Here I made up a Delphi mockup which could be self explanatory. Please see attached PDF As can be seen that the STM32 Chip could be configured as required. Other components such as Gyros, GPS Modules Compasses etc could be added to the Project1. On the "EVENTS" of these sensors, necessary information could be attained or sent through the Chip Outputs etc.etc etc. So in a nutshell I simply need collaboration to design such components for Delphi so that a custom program could be designed. I reiterate, these components would be free and certainly be a hugh boon for Delphi programmers. Seeing almost 1000 views in such a short post period leads me to believe that these components would create a huge interest among the Delphi community. STMF4Demo.pdf
  6. @Lars Fosdal Almost correct. But it should be a VCL component for Delphi. Plus the component properties must be able to map the pinset (GPIO as it is known) of the STM32 into the component. Otherwise there will be no way that you could read/send data to unknown pins.
  7. "Communicate with STM32 device is one thing, program a STM32 device is TOTALLY another thing." This is not correct. To communicate with a STM32 is not much of a problem if simple data needs to be sent from the STM32 chip. However when it comes to giving instructions to the STM32 chip via your own program, you NEED to access the hardware side of the STM32 chip. Simply put, you cannot simply command for example a LED on the STM32 to go high via your program, or stop a stepper motor attached to it. You need to be able to send such commands which the STM32 understands.
  8. STM32 can be configured with its own IDE (STM32CUBE IDE) But when I write a program (any program for example in Delphi). It runs on my pc. Lets say I designed a game, nothing to do with STM32 devices. In my Delphi game, I decide to communicate with an outside device which has a STM32 chip, then I need to know how to communicate with it. I cannot simply communicate with it using Delphi code. I need a "translator" between my code and STM32 code.
  9. I am sorry. But it seems that either I cannot explain properly or there are not experts on this forum to understand exactly what I am requiring. Let me educate those that need to understand the basics. The world of computing is divided into two: Soft programming and Hard programming. Soft programming is what you do with normal program languages to access the internals of a computer to compute within itself to distribute the results to attached peripherals such as screens, printers etc. These peripherals are at your mercy. They execute your program. Hard programming is when you need to interface with independent robots. You run your language of choice and the the robots run their own software, their own language etc. The robot tells you that should you need to interface with him then you need to use his protocols and language. Like it is just fair that the Chinese ask you to speak Chinese for communication, we cannot force English down their throats. But it is quite in order for you to ask the Chinese for a translator. All I am simply asking is that as a Delphi programmer, I need a translator to communicate with the "foreign" STM32 chip. My analogy of the Englishman and Chinese is the same as asking why should a "Delphiman" be compelled to learn "STM32 language"? If this explanation is not clear enough then please close this subject and I shall move on to other pastures.
  10. Is this forum an interrogation platform or a Delphi help desk system- supposedly! I believe that if boredom has the upper hand then search other platforms to vent that "urge". For someone to conclude that I am wanting to create an IDE within an IDE is the height of .......! Simple exercise for you: Make a standalone program with a Form, Button and Memo with STM32CUBE IDE. 🙈
  11. I had numerous requests from Delphi programmers for a custom designed ground station for a custom flight controller and some other robotic equipment using custom STM32 chips which could be directly written in Delphi. Although there are OpenSource modules of ground stations, but these module are usually packed in C++ requiring a ton of build and make with a crowd of scattered files. And they are not compatible with Delphi programming.
  12. I dont understand your post. How does "creating a simple to use VCL component for Delphi" relate to an IDE within an IDE. " Quote- "Silence is the shield of fools"..
  13. Yes I do use AI to spruce up my docs. I believe that if technology exists, use it! Saves me a lot of time 😃
×