Hi TimB,
I have build my own SPI-Driver like the one from MicroE. The distance between the display (incl. the SPI driver) and the main pcb are round about 2m. Works verry well.
Good luck
CS
Search found 127 matches
- Mon May 12, 2008 5:14 pm
- Forum: Modules
- Topic: SPI Graphics LCD driver
- Replies: 10
- Views: 7261
- Sat May 10, 2008 1:17 am
- Forum: Modules
- Topic: A little mistake in the ADC-modul !?
- Replies: 7
- Views: 5298
- Tue May 06, 2008 4:25 pm
- Forum: Modules
- Topic: A little mistake in the ADC-modul !?
- Replies: 7
- Views: 5298
A little mistake in the ADC-modul !?
Hi David, I think there is a little mistake in the adc-module. When someone want to work with a PIC 18F1320 and Vref the mistake is shown. This is the original code: Public Dim #if _device in (18F1220, 18F1320) // ADCON0... VCFG1 As ADCON0.6, VCFG0 As ADCON0.5, CHS2 As ADCON0.4, CHS1 As ADCON0.3, CH...
- Fri May 02, 2008 2:37 pm
- Forum: Modules
- Topic: Again problems with the DS18S20
- Replies: 3
- Views: 2984
- Fri May 02, 2008 9:33 am
- Forum: Modules
- Topic: Again problems with the DS18S20
- Replies: 3
- Views: 2984
Again problems with the DS18S20
Hi all, since 07/2007 my Tempcontrol-programm rans perfeclty. Now I want to use the following parts of the programm but it seems that there where problems that I can't see. Device = 18F452 Clock = 20 #option ow_pin = PORTC.1 Include "DS18S20.bas" Include "SPI.bas" Include "Utils.bas" Const Z(8) As B...
- Thu Mar 20, 2008 9:02 pm
- Forum: Compiler
- Topic: Split numbers from type shortint
- Replies: 2
- Views: 2027
- Thu Mar 20, 2008 8:50 pm
- Forum: Compiler
- Topic: Split numbers from type shortint
- Replies: 2
- Views: 2027
Split numbers from type shortint
Hallo,
a function returns a value from type shortint. For example 23 or 105.
I need to split the returned value into '2' and '3' or '1','0' and '5'.
How can I do this?
Thanks in advance
CS
a function returns a value from type shortint. For example 23 or 105.
I need to split the returned value into '2' and '3' or '1','0' and '5'.
How can I do this?
Thanks in advance
CS
- Tue Mar 18, 2008 9:34 pm
- Forum: Compiler
- Topic: SPI and MAX 7219
- Replies: 4
- Views: 3105
- Tue Mar 18, 2008 5:18 pm
- Forum: Compiler
- Topic: SPI and MAX 7219
- Replies: 4
- Views: 3105
Hi David, thanks for the tip. After a long period of testing and reading I get everything that I want on the display. But I have also still 2 problems. In the datasheet I found the following: Display-test mode turns all LEDs on by overriding, but not altering, all controls and digit registers (inclu...
- Mon Mar 17, 2008 3:40 pm
- Forum: Compiler
- Topic: SPI and MAX 7219
- Replies: 4
- Views: 3105
SPI and MAX 7219
Hi all, after I had a lot of problems to display something on an Serial 7 segment display I'm now a little bit wider. Please have a look at the following code: Device = 18F452 Clock = 8 Include "SPI.bas" Sub init_SPI() SPI.SetAsMaster(spiOscDiv4) SPI.SetSample(spiSampleMiddle) SPI.SetClock(spiIdlehi...
- Sat Aug 25, 2007 6:56 pm
- Forum: Compiler
- Topic: A question of practice
- Replies: 2
- Views: 2331
- Sat Aug 25, 2007 6:06 pm
- Forum: Compiler
- Topic: A question of practice
- Replies: 2
- Views: 2331
A question of practice
Hi all, I have to measure and count an impulse. The impulse can be 100ms or 200ms. What is the best way to do that? Should I do it with an interrupt like a stop watch from one falling edge to the next or should I start the timer for 100ms and check after the interrupt is the input still high then it...
- Sat Jul 28, 2007 9:27 am
- Forum: User Modules
- Topic: Touchscreen Controller Library
- Replies: 33
- Views: 23791
- Sat Jul 14, 2007 5:23 pm
- Forum: User Modules
- Topic: MonochromeImageConverter
- Replies: 8
- Views: 5946
- Sat Jul 14, 2007 2:03 pm
- Forum: User Modules
- Topic: MonochromeImageConverter
- Replies: 8
- Views: 5946