Search found 115 matches
- Tue Jun 17, 2008 4:14 am
- Forum: IDE
- Topic: SF + MPLAB problem ****noob alert****
- Replies: 16
- Views: 13729
- Sun May 25, 2008 4:01 am
- Forum: IDE
- Topic: Using ICD2 to Program from inside the IDE
- Replies: 10
- Views: 7487
- Tue May 20, 2008 11:23 pm
- Forum: Modules
- Topic: Smallest form factor digital photo frame
- Replies: 3
- Views: 3603
- Fri Apr 25, 2008 7:33 pm
- Forum: Compiler
- Topic: Aliasing a Port pin as boolean
- Replies: 5
- Views: 2999
- Fri Apr 25, 2008 2:59 pm
- Forum: Compiler
- Topic: Aliasing a Port pin as boolean
- Replies: 5
- Views: 2999
Thanks guys.
I ended up writing a function...
thanks for the confirmation...
I ended up writing a function...
Code: Select all
Public Function IsReady() As Boolean
Dim vPort As Word
Dim vPin As Byte
vPort = AddressOf(DREQ)
vPin = BitOf(DREQ,false) // get pin number
Result = vPort.Booleans(vPin)
End Function
- Fri Apr 25, 2008 3:10 am
- Forum: Compiler
- Topic: Aliasing a Port pin as boolean
- Replies: 5
- Views: 2999
Aliasing a Port pin as boolean
I have the following code in a module... #option VS_DREQ = PORTD.0 Dim DREQ As VS_DREQ.VS_DREQ@ However, I would like to alias the DREQ variable as a Boolean (ie. if the port.pin is high, return TRUE, if low, return FALSE). like this: if DREQ then // do stuff endif Is this possible without wrapping ...
- Wed Apr 23, 2008 6:44 pm
- Forum: User Modules
- Topic: SDFileSystem Records
- Replies: 2
- Views: 3129
- Tue Apr 22, 2008 10:14 pm
- Forum: User Modules
- Topic: SDFileSystem Records
- Replies: 2
- Views: 3129
SDFileSystem Records
I'm trying to use the Records features of the the SDFilesystem module (4.0.9), but, am getting strange results. The following code snippet always displays "00000000.000" on my LCD instead of the expected "abcdefghijkl". Any clues to why? Repeat Until SD.Init()=errOK LCD.WriteAt(2,1,"ok ") DelayMS(25...
- Fri Apr 18, 2008 1:02 am
- Forum: Compiler
- Topic: Is there a way of specifying the start address?
- Replies: 9
- Views: 4628
- Fri Apr 18, 2008 1:01 am
- Forum: Wiki Announcements
- Topic: Timer0 Module Available
- Replies: 0
- Views: 7604
Timer0 Module Available
I've added a new Timer0 module that can either be interrupt driven from a "master" ISR routine, or polled via a loop. I've added easy function calls to setup and manipulate the timer. See the included example for interrupt driven timer0 which has a master ISR in the mainline code that: checks for th...
- Thu Apr 17, 2008 2:28 pm
- Forum: Wiki Announcements
- Topic: VS1001 Audio Decoder Library Available
- Replies: 9
- Views: 13931
- Wed Apr 16, 2008 11:00 pm
- Forum: Wiki Announcements
- Topic: VS1001 Audio Decoder Library Available
- Replies: 9
- Views: 13931
VS1001 Audio Decoder Library Available
I just added a library to interface/control the VS1001 Audio Decoder chip from www.vlsi.fi.
http://www.sfcompiler.co.uk/wiki/pmwiki ... ser.VS1001
Comments are welcomed.
http://www.sfcompiler.co.uk/wiki/pmwiki ... ser.VS1001
Comments are welcomed.
- Sat Apr 12, 2008 5:37 am
- Forum: General
- Topic: Beginner problems
- Replies: 14
- Views: 8057
- Mon Apr 07, 2008 7:15 pm
- Forum: General
- Topic: Good 18f97jxx developpement board
- Replies: 7
- Views: 5216
SMT hand soldering is a little tricky, but, with some good desoldering braid, it's not too bad. Here are a few ways that I've done it successfully... 1) If you have a good solder mask on your PCB, you just apply solder across the pins (bridging is ok). Then, lay the desoldering braid across them, he...
- Mon Mar 24, 2008 2:08 am
- Forum: General
- Topic: Connecting multiple PICs?
- Replies: 9
- Views: 6063