Search found 282 matches

by HyperUniverse
25 Jan 2024 14:24
Forum: mikroC PRO for PIC General
Topic: idea of a function, please
Replies: 4
Views: 372

Re: idea of a function, please

If you could re-read my original post,
I didn't ask anyone to write any code for me.

All I asked is someone to give me an idea on how to do it.


You pointing me to strchr , is prety lame, as this function is NEVER going to do what I asked in my original post.
by HyperUniverse
24 Jan 2024 16:45
Forum: mikroC PRO for PIC General
Topic: idea of a function, please
Replies: 4
Views: 372

Re: idea of a function, please

I'm sorry, but how's that strchr going to help me achieve what I want?
by HyperUniverse
19 Jan 2024 16:01
Forum: mikroC PRO for PIC General
Topic: idea of a function, please
Replies: 4
Views: 372

idea of a function, please

Hi, I need help with a function. I have DATA incoming in such format: &11 99EA37E2637A11A2720B99184C2683D607104EC7B6165300180124; start character is always & end character is always ; in between everything can change, including its length I want to save this DATA in SPI_RAM, but only the last 12 str...
by HyperUniverse
24 Nov 2023 14:06
Forum: mikroC PRO for PIC General
Topic: SCT013
Replies: 3
Views: 331

Re: SCT013

Thanks,

Do you do an AC Click board for at least 2x CT SCT013 sensors?
by HyperUniverse
23 Nov 2023 11:11
Forum: mikroC PRO for PIC General
Topic: SCT013
Replies: 3
Views: 331

SCT013

Has anyone used this Current Transfomer? SCT013 I get a weird output from it. With a True RMS meter clamped on the same load, the True RMS meter shows 10A and the SCT013 shows 7.4A (no problem here, I suppose) But lowering the load to 4A (shown on the True RMS meter), the SCT013 shows 5.2A (that's m...
by HyperUniverse
10 Nov 2023 18:01
Forum: mikroC PRO for PIC General
Topic: PIC16F1827 stuck in any_Timer Interrupt
Replies: 2
Views: 318

Re: PIC16F1827 stuck in any_Timer Interrupt

thanks for reply hexreader
working fine now.

I was afraid the PIC might be damaged as I got it from ebay,
and instead of looking better at my code, I was stuck into thinking to contact the seller for a replacement
by HyperUniverse
10 Nov 2023 14:47
Forum: mikroC PRO for PIC General
Topic: PIC16F1827 stuck in any_Timer Interrupt
Replies: 2
Views: 318

PIC16F1827 stuck in any_Timer Interrupt

Hi I'm stuck in Timer Interrupt Routine using a PIC16F1827; Very simple LED ON, LED OFF, absolutely nothing else in the program #define LED LatB.F3 char LED_cnt = 0 ; /* Timer0 Prescaler 1:256; TMR0 Preload = 61; Actual Interrupt Time : 49.92 ms */ OPTION_REG = 0x87; TMR0 = 61; INTCON.TMR0IE = 1; IN...
by HyperUniverse
14 Sep 2023 09:35
Forum: mikroC PRO for PIC General
Topic: I2C detect?
Replies: 1
Views: 247

I2C detect?

Hi,

How can I detect at power up time, if an I2C device is connected or not in the system?

Thanks
by HyperUniverse
31 Jan 2023 11:57
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: Undeclared identifier 'T6963C_ROM_MODE_XOR'
Replies: 1
Views: 527

Undeclared identifier 'T6963C_ROM_MODE_XOR'

Hi, Why do I get these errors? 10 324 Undeclared identifier 'T6963C_ROM_MODE_XOR' in expression MyProject.c 16 324 Undeclared identifier 'T6963C_ROM_MODE_OR' in expression MyProject.c 25 324 Undeclared identifier 'T6963C_WHITE' in expression MyProject.c 26 324 Undeclared identifier 'T6963C_BLACK' in...
by HyperUniverse
06 Oct 2022 21:07
Forum: mikroC PRO for PIC General
Topic: strchr
Replies: 1
Views: 643

strchr

why is my strchr returning the decimal value of the character, rather than its position number in the string?

Code: Select all

SubString = "100150C4304E2512" ;
res = strchr(SubString, 'C');

res =  67
why don't I get res = 7?
by HyperUniverse
27 Sep 2022 10:58
Forum: mikroC PRO for PIC General
Topic: conversion?
Replies: 7
Views: 991

Re: conversion?

thanks hexreader

your code works perfectly.
by HyperUniverse
26 Sep 2022 16:51
Forum: mikroC PRO for PIC General
Topic: conversion?
Replies: 7
Views: 991

Re: conversion?

dsPIC33EP512GM706
by HyperUniverse
26 Sep 2022 16:31
Forum: mikroC PRO for PIC General
Topic: conversion?
Replies: 7
Views: 991

Re: conversion?

Hi hexreader

Code: Select all

StrToByte
missing

anybody got the function for this?
by HyperUniverse
26 Sep 2022 11:51
Forum: mikroC PRO for PIC General
Topic: conversion?
Replies: 7
Views: 991

conversion?

how do I convert a number of 3 digits 001 to 255 to an unsigned char 0x00 to 0xFF?

thanks
by HyperUniverse
21 Sep 2022 10:30
Forum: mikroC PRO for PIC General
Topic: compiler settings
Replies: 0
Views: 642

compiler settings

Hi, How can I get back to the old Code Explorer view (in alphabetical order), rather than the new view (in the order you have placed them on your design page)? How can I make the compiler remember my wishes to NOT show me the Project Explorer tab, nor the Libstock Manager, nor the Project Manager, n...

Go to advanced search