Search found 37 matches

by barbarossa
03 May 2011 14:48
Forum: mikroC PRO for PIC General
Topic: Howto use sbit in source file
Replies: 5
Views: 1837

Re: Howto use sbit in source file

Thanks DAJ and p.

//A
by barbarossa
03 May 2011 13:28
Forum: mikroC PRO for PIC General
Topic: Howto use sbit in source file
Replies: 5
Views: 1837

Re: Howto use sbit in source file

No, that is not the problem :)

I would like to create a library with source and header files. I would like to define ports in "project_name.c" and then just add "header.h" and "source.c" which use the ports.

//A
by barbarossa
02 May 2011 19:57
Forum: mikroC PRO for PIC General
Topic: Howto use sbit in source file
Replies: 5
Views: 1837

Howto use sbit in source file

Hello

How should I write code for using sbits, defined in the project .c file, in source files?

Similar to the way the sbits LCD_EN at,... work in LCD library.

//A
by barbarossa
31 Jan 2011 09:19
Forum: Package Manager General
Topic: The Package Manager found my MB_Pro_for_PIC one time
Replies: 6
Views: 9753

Re: The Package Manager found my MB_Pro_for_PIC one time

filip wrote: Also, try running the Package Manager as Admin (right-click the Package Manager shortcut and from the pop-up choose to Run as Admin).

Filip.
This worked on Win7 64 for me.

//A
by barbarossa
10 May 2010 06:39
Forum: Development Boards Wishlist
Topic: 8 relay extension board
Replies: 3
Views: 2880

Re: 8 relay extension board

The interface boards from ET team are pin-compatible with Mikroe IDC10.


http://www.etteam.com/

International sale:

http://futurlec.com/


//A
by barbarossa
16 Aug 2009 11:27
Forum: mikroC PRO for PIC General
Topic: ADC function problem (undeclared identifier [adc_read] )
Replies: 4
Views: 3157

A/ post in the MikroC General forum
B/ post your code
C/ State which processor you use

//Andreas
by barbarossa
07 Aug 2009 21:38
Forum: mikroC General
Topic: SHT75
Replies: 38
Views: 20170

Ok, I can't tell you what is wrong. First you should concentrate on actually get the data from the sensor, so strip the code from everything that is not necessary, i.e. calc_sht11, calibration, Uart..... and put the raw data on the LCD. Then use the conversion constants from the data sheet in calc_s...
by barbarossa
07 Aug 2009 08:38
Forum: mikroC General
Topic: SHT75
Replies: 38
Views: 20170

A/ Define the eeprom according to the image below. B/ Use 10k pull up on both SCK and DATA pins C/ Connect the SHT to the pins that are defined by: #define DATA_T TRISB.F4 #define DATA_P PORTB.F4 #define SCK_T TRISB.F6 http://a.imagehost.org/t/0099/eeprom.jpg
by barbarossa
05 Aug 2009 19:29
Forum: mikroC General
Topic: SHT75
Replies: 38
Views: 20170

no, I have no idea

//A
by barbarossa
03 Aug 2009 08:38
Forum: mikroC PRO for PIC General
Topic: Measuring Negative Value with ADC
Replies: 7
Views: 5179

You can use an OP-amp for analog mathematics. You need to divide the signa by 2 and add 5V.
by barbarossa
31 Jul 2009 22:30
Forum: mikroC General
Topic: SHT75
Replies: 38
Views: 20170

what Adrian said

//Andreas
by barbarossa
19 Jul 2009 12:43
Forum: mikroC General
Topic: SHT75
Replies: 38
Views: 20170

Well, I am not going to do that, but I may be able to help you if you make an effort of defining your problem.

Post your MikroC Pro code.
by barbarossa
18 Jul 2009 21:33
Forum: mikroC General
Topic: SHT75
Replies: 38
Views: 20170

My code is for MikroC Pro.

//A
by barbarossa
12 Jul 2009 13:41
Forum: mikroC General
Topic: SHT75
Replies: 38
Views: 20170

Eeprom library might need a word for address instad of byte.
by barbarossa
12 Jul 2009 13:37
Forum: mikroC General
Topic: SHT75
Replies: 38
Views: 20170

definition of SCK_T, DATA_T, DATA_P, LCD configuration and the register settings in main

Go to advanced search