Hi hexreader,
thank you for testing on 18F controller. I have prepared my own OneWire library taking in consideration the TRIS, LAT and PORT registers.
Bonca
Search found 319 matches
- 17 Sep 2022 10:43
- Forum: mikroC PRO for PIC General
- Topic: 18F25K80 OneWire library
- Replies: 2
- Views: 811
- 21 Aug 2022 20:31
- Forum: mikroC PRO for PIC General
- Topic: AS7265x (SEN-15050) accessing the virtual registers via I2C
- Replies: 2
- Views: 753
Re: AS7265x (SEN-15050) accessing the virtual registers via I2C
Hi,
the Arduino hides the most interesting part of the code, but fortunately, I have prepared the necessary way to get is working It was not as clear as I supposed to be to use the mE I2C library but it is working now.
Bonca
the Arduino hides the most interesting part of the code, but fortunately, I have prepared the necessary way to get is working It was not as clear as I supposed to be to use the mE I2C library but it is working now.
Bonca
- 21 Aug 2022 00:48
- Forum: mikroC PRO for PIC General
- Topic: AS7265x (SEN-15050) accessing the virtual registers via I2C
- Replies: 2
- Views: 753
AS7265x (SEN-15050) accessing the virtual registers via I2C
Hi, has anyone experience with the AS7265x sensor? I got stuck accessing the virtual registers. The datasheet is a bit confusing regarding the virtual register handling. Reading the STATUS and the READ registers are ok, I can see their content in terminal. What is the right I2C sequence to read any ...
- 13 Aug 2022 10:19
- Forum: mikroC PRO for PIC General
- Topic: SHT3x on I2C bus
- Replies: 3
- Views: 655
Re: SHT3x on I2C bus
I have found the problem. The sensor could have 2 addresses: 0x44 (default) and 0x45. When addressing the sensor, the used address need to be changed to 0x88 or 0x8A.
Bonca
Bonca
- 12 Aug 2022 18:37
- Forum: mikroC PRO for PIC General
- Topic: SHT3x on I2C bus
- Replies: 3
- Views: 655
SHT3x on I2C bus
Hi, I got stuck with the SHT30 sensor. The controller is a 18F25K80 with internal 8 MHz oscillator. It seems that the process stops at the commented point. I have tried both device address (0x44, 0x45). Please provide an advise. Thank you in advance. #define SHT3x_I2C_address 0x44 char read_buffer[6...
- 10 Aug 2022 23:23
- Forum: mikroC PRO for PIC General
- Topic: 18F25K80 OneWire library
- Replies: 2
- Views: 811
18F25K80 OneWire library
Dear Support, I need an advise how to get the 18F25K80 working with DS18B20. It seems that the OneWire library does not work properly on that controller. Do you have a similar solution like this? https://forum.mikroe.com/viewtopic.php?f=88&t=71189&p=287347&hilit=ds18b20#p287347 Thank you in advance....
- 20 Jul 2022 11:41
- Forum: mikroC PRO for PIC General
- Topic: ADC and UART on 18F24k50
- Replies: 2
- Views: 520
Re: ADC and UART on 18F24k50
Oh... Blind me... Thank you hexreader
Bonca
Bonca
- 20 Jul 2022 10:01
- Forum: mikroC PRO for PIC General
- Topic: ADC and UART on 18F24k50
- Replies: 2
- Views: 520
ADC and UART on 18F24k50
Hi, I have an analog-digital reading issue on AN0 with 18F24k50. The ADC values in the serial terminal are not showing however other UART_Write is OK. I am not sure if the config of the controller is correct on the analog input. Please check the code and the schematics and if you have any suggestion...
- 29 Oct 2020 17:22
- Forum: mikroC PRO for PIC General
- Topic: Self Tuning PID
- Replies: 1
- Views: 1299
Re: Self Tuning PID
I am on a similar project. I recommend to read this:
http://navneetvk.blogspot.com/2009/08/s ... rithm.html
Bonca
http://navneetvk.blogspot.com/2009/08/s ... rithm.html
Bonca
- 28 Nov 2019 11:39
- Forum: mikroC PRO for PIC General
- Topic: EEPROM_Write not working on a 18F67K90
- Replies: 7
- Views: 2228
Re: EEPROM_Write not working on a 18F67K90
Post deleted.
Bonca
Bonca
- 18 Sep 2019 15:00
- Forum: mikroC PRO for PIC General
- Topic: EEPROM_Write not working on a 18F67K90
- Replies: 7
- Views: 2228
Re: EEPROM_Write not working on a 18F67K90
Same problem with 18F67K22 on 7.50.
Bonca
Bonca
- 02 Sep 2019 15:45
- Forum: mikroC PRO for PIC General
- Topic: Brackets and braces
- Replies: 5
- Views: 1443
Re: Brackets and braces
Can you please provide an approximate date of when this issues will be tested and fixed? Thank you in advance.
Bonca
Bonca
- 01 Sep 2019 18:16
- Forum: mikroC PRO for PIC General
- Topic: Brackets and braces
- Replies: 5
- Views: 1443
Brackets and braces
Dear Developers, Let me share my first experience with mikroC PRO for PIC Version 7.5.0. I think that this issue is an old story. Unfortunately end-bracket and end-brace is still not entering as with earlier releases. [ ] – Brackets { } – Braces Is there any solution (I am not meaning of using Notep...
- 11 Apr 2019 11:55
- Forum: mikroC PRO for PIC General
- Topic: xGLCD library and constant variable
- Replies: 1
- Views: 955
Re: xGLCD library and constant variable
Dear mE Team!
Can you predict when the Glcd library will have Char and Text width functions? Thank you in advance.
viewtopic.php?f=176&t=73831
Bonca
Can you predict when the Glcd library will have Char and Text width functions? Thank you in advance.
viewtopic.php?f=176&t=73831
Bonca
- 25 Mar 2019 14:24
- Forum: mikroC PRO for PIC General
- Topic: xGLCD library and constant variable
- Replies: 1
- Views: 955
xGLCD library and constant variable
Hi, how to write a constant variable with the xGlcd_Write_Text command? I definitely need to use the xGlcd library because of right aligned text. Thank you in advance. const char dictionary [3] [33] [16] = {...}; // constant variable signed short variable[] = {...}; int LCDrow; ... ... ... xGlcd_Wri...