Search found 14 matches
- 05 Jun 2013 08:35
- Forum: mikroBasic PRO for PIC General
- Topic: lcd_out command clear another pin (Solved)
- Replies: 2
- Views: 1338
Re: lcd_out command clear another pin
Working!!!!! Thanks you!!! LCD pins changed to latx register instead portx: dim LCD_RS as sbit at latb.2 ' RB2_bit LCD_EN as sbit at latb.3 ' RB3_bit LCD_D4 as sbit at latc.7 ' RC7_bit LCD_D5 as sbit at latc.4 ' RC4_bit LCD_D6 as sbit at latc.6 ' Rc6_bit LCD_D7 as sbit at latc.5 ' Rc5_bit LCD_RS_Dir...
- 18 Apr 2013 09:47
- Forum: mikroBasic PRO for PIC General
- Topic: lcd_out command clear another pin (Solved)
- Replies: 2
- Views: 1338
lcd_out command clear another pin (Solved)
In a 18f25k80 the lcd_out command clear PORTB.4, that pin isn't set as LCD pin: bucle: 'loop resultado = ADC_Get_Sample(pata_bateria) hi(resultado) = ADRESH lo(resultado) = ADRESL WordToStr(resultado, txt) delay_ms(2000) ' Here PORTB.4 KEEPS ON lcd_out(1,1,txt) ' WHY HERE PORTB.4 GOES OFF? delay_ms(...
- 15 Mar 2013 11:10
- Forum: mikroBasic PRO for PIC General
- Topic: Something very "funny" Lcd_Out(r,c,text) writes all in r1,c1
- Replies: 6
- Views: 2435
Re: Something very "funny" Lcd_Out(r,c,text) writes all in r
Your question is easy to answer. Isn´t the full code (full code is about >90% of pic program code). The rest of the code are "sub functions" called later that only add code lines to the make a very long post and (I supposed) not needed to solve the problem. Now, looking for a solution I decided comp...
- 25 Feb 2013 13:11
- Forum: mikroBasic PRO for PIC General
- Topic: Something very "funny" Lcd_Out(r,c,text) writes all in r1,c1
- Replies: 6
- Views: 2435
Re: Something very "funny" Lcd_Out(r,c,text) writes all in r
Yes is one lcd used in another projects correctly. a WINSTAR WH1602d. Someday all the program crashed, nothing works and I started to split it. Now all looks fine except lcd screen.
I uninstalled mikrobasic, removed all directories, reinstalled again but no change.
I uninstalled mikrobasic, removed all directories, reinstalled again but no change.
- 22 Feb 2013 10:23
- Forum: mikroBasic PRO for PIC General
- Topic: Something very "funny" Lcd_Out(r,c,text) writes all in r1,c1
- Replies: 6
- Views: 2435
Something very "funny" Lcd_Out(r,c,text) writes all in r1,c1
I'm using a 18f25k80 to display some information over a LCD but the comannd Lcd_Out(x,y,text) shows all text always in the first line... (pasted simplificated code) dim LCD_RS as sbit at RB2_bit LCD_EN as sbit at RB3_bit LCD_D7 as sbit at RC5_bit LCD_D6 as sbit at RC6_bit LCD_D5 as sbit at RC4_bit L...
- 26 Nov 2012 17:04
- Forum: mikroBasic Wish List
- Topic: ByteToStrWithZeros
- Replies: 3
- Views: 6931
- 13 Nov 2012 14:09
- Forum: mikroC PRO for PIC General
- Topic: pic 18f25k22 internal oscillator
- Replies: 6
- Views: 3671
Re: pic 18f25k22 internal oscillator
Solved!!! no explication... I started to set internal oscilator to 1Mhz and set de compiler to 4Mhz looking for a slower data transmision to lcd... After playing with delays, setting to 0 / disabled all pic modules (also the modules that must be 0 or disabled at start up).... and don't remember what...
- 13 Nov 2012 09:40
- Forum: mikroC PRO for PIC General
- Topic: pic 18f25k22 internal oscillator
- Replies: 6
- Views: 3671
Re: pic 18f25k22 internal oscillator
I'm getting problems also with 18f25k80. I have osccon, osctune and config bits cofigured. All delay_ms works fine but the lcd library not I have 2 developement boards, 1 with 18k25k80 and another with 16f916. Both with INTOSC and same program <Lcd_Out(1, 1, "texttexttext").> In 16f916 - Data7 (4 bi...
- 18 Oct 2012 17:47
- Forum: Development Boards Wishlist
- Topic: adding of PIC 18F25K80 in MIkroprog suite
- Replies: 2
- Views: 3312
Re: adding of PIC 18F25K80 in MIkroprog suite
One year later...
Are there any new information about this mC?
Thanks.
Carlos Yubero
I'm answered to my self. Is supported, but isn´t correctly order the mC on the combo-box
that the reason because i couldn't saw it and make me thought it was unsupported
Are there any new information about this mC?
Thanks.
Carlos Yubero
I'm answered to my self. Is supported, but isn´t correctly order the mC on the combo-box
that the reason because i couldn't saw it and make me thought it was unsupported
- 04 Sep 2012 17:00
- Forum: mikroBasic PRO for PIC General
- Topic: pic 16f916 restarts every 2 seconds
- Replies: 3
- Views: 1773
Re: pic 16f916 restarts every 2 seconds
SOLVED
I don't know why in mikroProg suite, under the button "options" the "Program/verify options:" - "Configuration Words(s)" was unchecked...
I'm the only user of this software and I never go inside that option...
lets go to programming!!!! Thanks
I don't know why in mikroProg suite, under the button "options" the "Program/verify options:" - "Configuration Words(s)" was unchecked...
I'm the only user of this software and I never go inside that option...
lets go to programming!!!! Thanks
- 04 Sep 2012 12:03
- Forum: mikroBasic PRO for PIC General
- Topic: pic 16f916 restarts every 2 seconds
- Replies: 3
- Views: 1773
Re: pic 16f916 restarts every 2 seconds
Thanks for answering: I tried both options: - Write to the pic your .hex file in your file with mikroprog directly - Build & program the project with mikrobasic. same result on both. http://www.youtube.com/watch?v=ZycyGbj83m0&feature=plcp I cleaned project folder, build again, and I attach to you th...
- 31 Aug 2012 10:12
- Forum: mikroBasic PRO for PIC General
- Topic: pic 16f916 restarts every 2 seconds
- Replies: 3
- Views: 1773
pic 16f916 restarts every 2 seconds
I'm doing a proyect with 16f916 but it restarts every 2,5 seconds My first program in this pic doesn't work, and I decide make it simplest: Configuration bits Oscillator = internal watchdog = disabled Power up timer disabled master clear = disabled Brown Out Detect = disabled Int-Ext Switch-over = d...
- 23 Nov 2009 10:57
- Forum: mikroBasic PRO for PIC General
- Topic: byte to word / word to byte
- Replies: 1
- Views: 1327
byte to word / word to byte
I'm really sure that this must be easy to do, but i'm lost in this moment and don't found the answer looking for the forum.
I need concatenate to bytes to create a word
wo-rd = byteH & byteL
work with that word and after break the word y 2 bytes
byteH = wo
byteL = rd
some idea?
Thanks!!!,
I need concatenate to bytes to create a word
wo-rd = byteH & byteL
work with that word and after break the word y 2 bytes
byteH = wo
byteL = rd
some idea?
Thanks!!!,
- 02 Apr 2009 13:55
- Forum: mikroBasic General
- Topic: PICFLASH2 does not work with 16F818/9 internal OSC
- Replies: 4
- Views: 2186
there are any solution for 16f818/9? Internal Oscilator?
Im trying to use a 16f818 in internal oscilator mode, the first time I write it it's works but after that I couldn't write/erase it anymore.
I supoused that the problem is that the pic is working and don´t allow writing process.... ¿am I in the correct way? ¿Solutions?
I supoused that the problem is that the pic is working and don´t allow writing process.... ¿am I in the correct way? ¿Solutions?