David:
Thanks...
Now it is working OK.
Thanks again and take care...
Ruben de la Pena V.
Search found 32 matches
- Fri Sep 28, 2012 7:55 pm
- Forum: Compiler
- Topic: 18F25K20 RESET PIN AS INPUT ?
- Replies: 2
- Views: 2223
- Wed Sep 26, 2012 10:45 pm
- Forum: Compiler
- Topic: 18F25K20 RESET PIN AS INPUT ?
- Replies: 2
- Views: 2223
18F25K20 RESET PIN AS INPUT ?
Dear friends: I am using the 18f25k20 and always leave the reset pin as reset, but I now need one extra input and I configure the MCLRE = OFF . and add the line in my program as button in porte.3.However the compiler flags an error and do not accept the pin as input. I did check in the Microchip inc...
- Wed Dec 29, 2010 5:34 am
- Forum: Modules
- Topic: TCP Connection with ENC28J60
- Replies: 5
- Views: 6924
- Wed Sep 15, 2010 10:35 pm
- Forum: User Modules
- Topic: !!!New M25P128 User Module!!!
- Replies: 6
- Views: 6146
M25P128
Hi Ryan: I did test your module,changing only the serial speed to 9600 b,and disabling the pll. I used a 10 Mhz resonator . After several test, I only get this result: HELLO WORLD HELLO WORLD HELLO WORLD HELLO WORLD HELLO WORLD C - 11111111|11111111|11111111 C - 00100000|00100000|00010101 C - 001000...
- Tue Jan 12, 2010 11:10 pm
- Forum: Wiki Announcements
- Topic: Dual speed suart?
- Replies: 1
- Views: 5091
Dual speed suart?
Dear friends:
Can I have two speeds with the SUART library.?
I need to receive at 1200 bauds and transmit at 9600 bauds.
It is that possible.?
Thanks for your comments...
Ruben de la Pena V.
Can I have two speeds with the SUART library.?
I need to receive at 1200 bauds and transmit at 9600 bauds.
It is that possible.?
Thanks for your comments...
Ruben de la Pena V.
- Tue Jan 20, 2009 5:55 am
- Forum: User Modules
- Topic: 18F26K20 SD Testing
- Replies: 55
- Views: 38420
18f25k20 and 18f45k20
Ohararp:
I have used the 25k20 and the 45k20 with the SD library (thanks to Steven).Both worked very well for playing Wav Files.
If you still have problems, I can send to you the configuration I did use.
Greetings...
Ruben de la Pena V.
I have used the 25k20 and the 45k20 with the SD library (thanks to Steven).Both worked very well for playing Wav Files.
If you still have problems, I can send to you the configuration I did use.
Greetings...
Ruben de la Pena V.
- Sat Nov 29, 2008 7:25 pm
- Forum: Compiler
- Topic: LCD formatting...
- Replies: 9
- Views: 5517
LCD formatting...
Hi...
Steven... your function works OK... Thanks...By the way,to address a
bit in a register we can use the expresion register.bit#,like portb.3 ,etc..
Can be the bit number a expresion like (Var.bit) or Var.var ?
Thanks again...
Ruben de la Pena V.
Steven... your function works OK... Thanks...By the way,to address a
bit in a register we can use the expresion register.bit#,like portb.3 ,etc..
Can be the bit number a expresion like (Var.bit) or Var.var ?
Thanks again...
Ruben de la Pena V.
- Thu Nov 27, 2008 8:39 am
- Forum: Compiler
- Topic: LCD formatting...
- Replies: 9
- Views: 5517
LCD FORMATTING
Thanks to RMTEO and Steven: I will try your sugestions... I was trying something like this: '***************************** For index = 1 to 16 if switches.index = 1 then button = index goto toca endif next index '***************************** But I got several errors in the compiler and opted for th...
- Thu Nov 27, 2008 12:33 am
- Forum: Compiler
- Topic: LCD formatting...
- Replies: 9
- Views: 5517
LCD formatting...
Thanks Jason: I will try it... My problem was more the reading of the shift registers (two 4021) to get 16 switches. It is working now, but I needed to convert the 16 bits of my word variable to an specific switch. (In PBP I did use the NCD (priority encoder). Now in Swordfish,I use this solution bu...
- Tue Nov 25, 2008 12:08 am
- Forum: Compiler
- Topic: LCD formatting...
- Replies: 9
- Views: 5517
LCD formatting...
Hi Steven: The display command is working OK. Then I am not reading the ShiftIn. I set a value of $D555 to the variable "Switches" and changed to BinToStr and I got at the display 1101010101010101. At least I am understanding the use of the LCD options. Another question: if the value is = 5 then I g...
- Mon Nov 24, 2008 11:53 pm
- Forum: Compiler
- Topic: LCD formatting...
- Replies: 9
- Views: 5517
LCD formatting...
Thanks Steve: I was aware of the last missing parentesis.(Was a Typo). My subroutine: { ******************************************************************************** * Name : ReadSw * * Purpouse : Read 4021's switches 2 chips for 16 bits * *********************************************************...
- Mon Nov 24, 2008 9:51 pm
- Forum: Compiler
- Topic: LCD formatting...
- Replies: 9
- Views: 5517
LCD formatting...
Hi Friends: In this advanced world of complex Glcd displays, I am almost ashamed to ask for a simple task. As always, is very simple when you know how. But I don't. In a example I did see the following: USART.Write("Hello World", 13, 10) // string USART.Write("Binary : ", BinToStr(242), 13, 10) // b...
- Sat Oct 04, 2008 9:16 pm
- Forum: Modules
- Topic: SDFileSystem.bas ???
- Replies: 37
- Views: 23136
pull ups
Hi Steven: I add the 4k7 pullups in DI and DO and all is working OK. Thank you ...! . I do not understand why fail without the resistors... I am using a 18F25K20 at 3.6V and I assumed the lines are, as the Micro pins are programmed. (And why that worked before...). Thanks again and greetings... Rube...
- Fri Oct 03, 2008 8:51 pm
- Forum: Modules
- Topic: SDFileSystem.bas ???
- Replies: 37
- Views: 23136
sd_init ?
Dear Steven: I did modify my working program: First I added before the inc #option SD_SPI_SPEED = spiOscDiv4 then I change the sd.open to: '****************************** Repeat UART.Write("INIT ?...",13 ,10 ) Until SD.Init() = errOK UART.Write("INIT_OK...",13 ,10 ) '****************************** B...
- Mon Jul 14, 2008 11:13 pm
- Forum: Modules
- Topic: Confused with SDFileSystem.bas
- Replies: 22
- Views: 13578
Liak: If you do not need PC compatibility, you may use flash memory: 1._ Data Flash from Atmel , comes with 2 and 4 Megabites in 8 pin soic IC. and cost $ 1.57 at Digikey (AT45DB161D) (2 MB.) 2._ Data flash from ST- They have up to 16 MB. (2,4,8 and 16). Atmel also have a 8 Mb. but the case is more ...