Search found 24 matches
- 15 Dec 2019 22:36
- Forum: mikroBasic PRO for PIC General
- Topic: PIC18F25K80 - EEPROM_Write not working on 7.6.0
- Replies: 2
- Views: 1008
Re: PIC18F25K80 - EEPROM_Write not working on 7.6.0
Much appreciated !!!!
- 15 Dec 2019 20:45
- Forum: mikroBasic PRO for PIC General
- Topic: PIC18F25K80 - EEPROM_Write not working on 7.6.0
- Replies: 2
- Views: 1008
PIC18F25K80 - EEPROM_Write not working on 7.6.0
Hi, I have a simple write code below and the execution hangs on eeprom_write. I found similar post for C compiler. Is the same fix available for Basic? https://forum.mikroe.com/viewtopic.php?f=93&t=72071#p290899 LED = 1 delay_ms(1000) LED = 0 Eeprom_Write(0x01,0x00) LED = 1 delay_ms(1000) LED = 0
- 15 Jul 2019 17:33
- Forum: mikroBasic PRO for PIC General
- Topic: bug? Flash_write for pic16 now writes all 32 instead of4word
- Replies: 3
- Views: 1354
Re: bug? Flash_write for pic16 now writes all 32 instead of4
Stefan, thank you so much for your support! I misread the documentation ( user must read documentation carefully :roll: ). I see now for 16F1825 : The number of data write latches is not equivalent to the number of row locations where the 16F18325 : When write and erase operations are done on a row ...
- 13 Jul 2019 14:10
- Forum: mikroBasic PRO for PIC General
- Topic: bug? Flash_write for pic16 now writes all 32 instead of4word
- Replies: 3
- Views: 1354
bug? Flash_write for pic16 now writes all 32 instead of4word
I have downloaded v7.5 and now when execute Flash_Write() it writes all 32 words, though in the past it would only write 4 words (manual states 4 words for pic16) 16LF18325 Should I change the array to 32words or it will be fixed in the next release????? Update: I checked v7.2 and it is the same. I ...
- 20 May 2013 18:25
- Forum: mikroBasic PRO for PIC General
- Topic: Can not initialize LCD with 18F46K80.
- Replies: 5
- Views: 2459
Re: Can not initialize LCD with 18F46K80.
Yes the TRIS command will set up the ports to be digital input or outputs. But if a port pin has an analog function associated with it. It will take precedence and you will need to disable them to get the port to function as a digitalt I/O. Try adding this to your code after your OSCCON setting and...
- 20 May 2013 14:11
- Forum: mikroBasic PRO for PIC General
- Topic: Can not initialize LCD with 18F46K80.
- Replies: 5
- Views: 2459
Re: Can not initialize LCD with 18F46K80.
Thanks
According to datasheet setting TrisB=00 should set pins to digital output.
When i output
Portb=00
Portb=01
Portb=03
Portb=07
Portb=0F
in the loop i see square outputs with proper duty. When i output the same through lcd_cmd only D4 and D3 look ok
According to datasheet setting TrisB=00 should set pins to digital output.
When i output
Portb=00
Portb=01
Portb=03
Portb=07
Portb=0F
in the loop i see square outputs with proper duty. When i output the same through lcd_cmd only D4 and D3 look ok
- 20 May 2013 03:01
- Forum: mikroBasic PRO for PIC General
- Topic: Can not initialize LCD with 18F46K80.
- Replies: 5
- Views: 2459
Can not initialize LCD with 18F46K80.
I started working with 18F46K80 and stumble on my first 10 lines of code. I can not initialize LCD to display anything. After trouble shooting I came up with this code below. Should I see square signal on B0-B3?? B3 and B2 works ok but B0 and B1 getting weird. When I output PORTB= 0x00 and 0xFF ever...
- 02 Mar 2013 01:06
- Forum: mikroBasic PRO for PIC General
- Topic: Any suggestion on creating sensor
- Replies: 1
- Views: 978
Any suggestion on creating sensor
Hello, I am reading sensor reading with ADC 0-5v and need to convert it to measuring unit. Relationship is not linear and I have sensor calibration table with 5 values. 0v = 10 units 1v = 20 units 2v = 40 units 3v = 80 units 4v = 160 units Relationship between calibration points assumed to be linear...
- 01 Mar 2013 19:56
- Forum: mikroPascal PRO for PIC General
- Topic: Any suggestion on creating sensor calibraion lookup table?
- Replies: 1
- Views: 1225
Any suggestion on creating sensor calibraion lookup table?
Hello, I am reading sensor reading with ADC 0-5v and need to convert it to measuring unit. Relationship is not linear and I have sensor calibration table with 5 values. 0v = 10 units 1v = 20 units 2v = 40 units 3v = 80 units 4v = 160 units Relationship between calibration points assumed to be linear...
- 19 Feb 2013 17:12
- Forum: mikroBasic PRO for PIC General
- Topic: Extern param not resolved
- Replies: 11
- Views: 5134
Re: Extern param not resolved
Filip,
is there unofficial ETA you can give us?
is there unofficial ETA you can give us?
- 17 Feb 2013 00:27
- Forum: mikroBasic PRO for PIC General
- Topic: Extern param not resolved
- Replies: 11
- Views: 5134
Re: Extern param not resolved
Same here,
using 5.8.0 for pic16f1509 .
PWM library causing the issue.
Can hot fix be released asap?
using 5.8.0 for pic16f1509 .
PWM library causing the issue.
Can hot fix be released asap?
- 01 Jun 2009 15:56
- Forum: mikroBasic PRO for PIC General
- Topic: IRP bit must be set manually for indirect access to '?Loca
- Replies: 27
- Views: 30920
Thank you Igor. So basically I have two many variables and the compiler started allocating variables to the Bank 2 and 3, correct? If I manually set the IRP to 1, I still will not be able to perform funcation with variables from Bank01 and Bank23 at the same time, right? So either I need to trim the...
- 31 May 2009 04:36
- Forum: mikroBasic PRO for PIC General
- Topic: IRP bit must be set manually for indirect access to '?Loca
- Replies: 27
- Views: 30920
IRP bit must be set manually for indirect access to '?Loca
Hi, getting compiler warning: IRP bit must be set manually for indirect access to '?Local_Text' variable but can not understand what is causing it. dim Freq as longint ' Frequency dim Freq1 as longint ... Freq1 = Tmr1Hi*65536 + TMR1H*256 + TMR1L 'Freq = Tmr1Hi*65536 + TMR1H*256 + TMR1L ... What i do...
- 26 May 2009 15:49
- Forum: mikroBasic PRO for PIC General
- Topic: Store string constant in Program memory vs EPROM
- Replies: 3
- Views: 2548
- 26 May 2009 03:38
- Forum: mikroBasic PRO for PIC General
- Topic: Strange issue. Need advice on how to pin point it...
- Replies: 16
- Views: 8153
resolved
Zoran and Igor found and resolved the issue.
What a group of intelegent and customer oriented folks.
Thank you for your hard work.
What a group of intelegent and customer oriented folks.
Thank you for your hard work.