Just create a new unit, name it for example 'global.mpas' and include it with 'uses' statement in all other units of your needs.
This unit could be used to hold all global types, consts, vars, strings and so on.
Search found 66 matches
- 18 Mar 2020 12:35
- Forum: mikroPascal PRO for ARM General
- Topic: global assignment
- Replies: 3
- Views: 2233
- 24 Feb 2020 11:47
- Forum: mikroC PRO for ARM General
- Topic: How to configure project settings for ARM STM32F103RCT6?
- Replies: 7
- Views: 3937
Re: How to configure project settings for ARM STM32F103RCT6?
how to convert cubeMX into Mikro c You have to walk through all source files of the output from CubeMX, while collecting all relevant portions regarding clock settings. This would be a nice but time eating project, but could be done with several IDEs, leading in a command line program. At the end y...
- 29 Dec 2019 09:36
- Forum: mikroPascal PRO for ARM General
- Topic: How to disable the Libstock Manager tab within the IDE?
- Replies: 1
- Views: 1585
How to disable the Libstock Manager tab within the IDE?
Whenever I'm starting the IDE, it takes several seconds to come up. By adding the IDE to the firewall isn't that practical, because this tab still remains and comes to foreground after starting. I just want to have the library manager directly on hand. Even a double click on it and then closing that...
- 23 Apr 2019 10:41
- Forum: mikroPascal PRO for ARM General
- Topic: "CS_GetClocksFrequency()" unknown - Built in Routines
- Replies: 1
- Views: 1472
"CS_GetClocksFrequency()" unknown - Built in Routines
The command "CS_GetClocksFrequency()" is unknown by the compiler,
although it's part of the so called Build-In routines, so the help claims.
Any suggestions?
although it's part of the so called Build-In routines, so the help claims.
Any suggestions?
- 15 Feb 2015 14:25
- Forum: mikroPascal PRO for ARM General
- Topic: STM32F103C8T6 USB HID
- Replies: 18
- Views: 21576
Re: STM32F103C8T6 USB HID
@LJStefan
> USBDP is connected with a 22 ohm resitor in series to D+
> USBDM is connected with a 22 ohm resitor in series to D-
> USBDP has a 10k pullup resistor to 3.3V
The resistor value does not fit to the USB specs.
Recommended value is 1K5 (or 1,5K Ohm) for the pullup.
Greetz
> USBDP is connected with a 22 ohm resitor in series to D+
> USBDM is connected with a 22 ohm resitor in series to D-
> USBDP has a 10k pullup resistor to 3.3V
The resistor value does not fit to the USB specs.
Recommended value is 1K5 (or 1,5K Ohm) for the pullup.
Greetz
- 20 Jun 2014 21:39
- Forum: mikroPascal PRO for AVR General
- Topic: A pretty quasi-bug gift for your anniversary
- Replies: 2
- Views: 1766
Re: A pretty quasi-bug gift for your anniversary
Code: Select all
if b and not then b := false;
There must follow an argument right after the not statement, maybe in brackets.
I am wondering, why the compiler does accept this without telling a missing boolean variable...
Anyway, this is mikroPascal
- 21 Feb 2014 22:28
- Forum: mikroPascal PRO for ARM General
- Topic: When will Broadcom devices be supported?
- Replies: 4
- Views: 2878
Re: When will Broadcom devices be supported?
Hi rmteo, I am aware of your demur, but in our junk box I found many obsolet pcbs, which containing Broadcom controllers, like Modems, 100MBit hubs and other stuff. So I am wondering to use those for exercising/education on ARM-Stuff. At least neither Texas- nor STM controllers were found on these j...
- 04 Feb 2014 16:45
- Forum: mikroPascal PRO for ARM General
- Topic: When will Broadcom devices be supported?
- Replies: 4
- Views: 2878
Re: When will Broadcom devices be supported?
Hi Marina,
thank you for your reply.
I'll keep my fingers crossed for this to become true one day .
Best regards
Jan
thank you for your reply.
I'll keep my fingers crossed for this to become true one day .
Best regards
Jan
- 31 Jan 2014 21:49
- Forum: mikroPascal PRO for ARM General
- Topic: When will Broadcom devices be supported?
- Replies: 4
- Views: 2878
When will Broadcom devices be supported?
There's a lot of time gone since mikroPascal for ARM was released. So I wonder, why this Compiler doesn't support more ARM-derivates like the Broadcom Chip. This chip is populated on the well-known Raspberry Pi, which are very cheap for development issues. In the late 90's I developped a real-time O...
- 10 Nov 2013 19:19
- Forum: mikroPascal PRO for AVR General
- Topic: Real gets rounded?
- Replies: 3
- Views: 2269
Re: Real gets rounded?
I could reproduce this issue and I am scared. A compiler, which exists at least for a long time. It seems, that within the line the (invisible) preprocessed code is right. mA1:=2500/182; But the line mA1:=measurement/182; might be at least processed by the generated code. And thus is definitely fals...
- 07 May 2013 16:44
- Forum: mikroBasic PRO for AVR General
- Topic: RF HM-TR MODULE RS232
- Replies: 3
- Views: 2828
Re: RF HM-TR MODULE RS232
Hi kiarash,
you could register and put your question to this forum.
http://bascom-forum.de/forum.php
Even if it's a german forum, some people might understand english.
you could register and put your question to this forum.
http://bascom-forum.de/forum.php
Even if it's a german forum, some people might understand english.
- 21 Apr 2013 11:43
- Forum: mikroPascal PRO for AVR General
- Topic: Live update failed
- Replies: 3
- Views: 2255
Live update failed
Hi mE-Team, today I tried to update my Version 6.0.0 to 6.0.1. After finishing the process, mikroPascal came up again but refused to compile any project. I also lost my registration (the key-file from Tigal is still in the folder of mikroPascal) Furthermore the Headline of the main window now shows ...
- 30 Mar 2013 23:17
- Forum: mikroPascal PRO for ARM General
- Topic: TI Stellaris Info
- Replies: 1
- Views: 1630
TI Stellaris Info
Some irritations about TIs Stellaris µCs:
http://e2e.ti.com/support/microcontroll ... ?pi74263=1
Just an info to everyone on this forum
Nice easter!
http://e2e.ti.com/support/microcontroll ... ?pi74263=1
Just an info to everyone on this forum
Nice easter!
- 23 Jan 2013 17:56
- Forum: Timer Calculator
- Topic: Timer Calculator Application Released!
- Replies: 82
- Views: 984910
Re: Timer Calculator Application Released!
Any chance to have it for the AVR µCs too?
- 23 Nov 2012 18:40
- Forum: mikroPascal PRO for AVR General
- Topic: mikroPascal PRO for AVR v5.8.0 released!
- Replies: 2
- Views: 1760
Re: mikroPascal PRO for AVR v5.8.0 released!
Hi mE-Team, please correct me, if I am wrong, but there are still no variant records like in Turbo(Borland) Pascal/Delphi. The help-system also doesn't really find the topic 'variant'. How long would it take to have variant records in mikroPascal, like they do exist in mikroC? In my opinion it would...