Search found 125 matches
- Sun Mar 23, 2008 10:22 pm
- Forum: Modules
- Topic: Ethernet module and Microchip developement board
- Replies: 0
- Views: 3068
Ethernet module and Microchip developement board
I have Microchips development board DM183022 http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en520448&part=DM183022 and the PicTail Ethernet board http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en025831&part=AC164121 . I have...
- Sun Mar 09, 2008 3:38 am
- Forum: Compiler
- Topic: get a bit value from a byte
- Replies: 2
- Views: 2106
- Tue Feb 26, 2008 12:48 pm
- Forum: Compiler
- Topic: get a bit value from a byte
- Replies: 2
- Views: 2106
get a bit value from a byte
Can I check the value of a bit in a byte?
I know this doesn't work, but is there a way?
Thanks.
Code: Select all
While SPI.ReadByte.3 = 0 ' Wait for data ready
Wend
Thanks.
- Mon Feb 25, 2008 9:56 am
- Forum: Compiler
- Topic: function returning a structure
- Replies: 5
- Views: 3100
- Sat Feb 02, 2008 5:10 am
- Forum: Compiler
- Topic: function returning a structure
- Replies: 5
- Views: 3100
- Fri Feb 01, 2008 3:24 pm
- Forum: Compiler
- Topic: function returning a structure
- Replies: 5
- Views: 3100
function returning a structure
I want to return 2 word values from a function as a structure. Where do I create the structure, in the function after the function declaration or in the module with the other variable declarations, or somewhere else? Right now I am making the 2 words into a longword and parsing it out after it's ret...
- Sun Jan 27, 2008 10:24 pm
- Forum: Modules
- Topic: usb hid code generator for .net
- Replies: 4
- Views: 3474
- Sat Dec 22, 2007 8:55 pm
- Forum: Compiler
- Topic: Problem with MOD?
- Replies: 8
- Views: 4934
Stop it, your killing me. Yeah, I also learned the difference between English and American while in England for a few years in the 80's. You could say something like "kids walking to school would stop at the chemist on high street and buy rubbers". Huge difference in meaning here in the US of A. Any...
- Thu Dec 20, 2007 11:36 pm
- Forum: Compiler
- Topic: Problem with MOD?
- Replies: 8
- Views: 4934
- Thu Dec 20, 2007 10:05 pm
- Forum: Compiler
- Topic: Problem with MOD?
- Replies: 8
- Views: 4934
Problem with MOD?
Am I using this wrong? The output to hyperterm is: I'M ALIVE! holder1 - 14 holder2 - 2640 58640 / 4000 is 14.66 on my calculator. Why is holder2 not 66? Thanks Device = 18F6722 Clock = 32 // import modules... Include "usart2.bas" Include "convert.bas" // declare variables Dim val1 As Word Dim val2 A...
- Tue Oct 02, 2007 8:37 am
- Forum: Compiler
- Topic: Passing multiple parm's from a function
- Replies: 1
- Views: 1832
Passing multiple parm's from a function
Does anyone have an example of how to pass multiple parameters from a function? This
compiles OK, but how do I call the function and get both y and z?
Thanks
Garry
Code: Select all
Public Function read(y As Word,z As Word) As Word
End Function
Thanks
Garry
- Sat Sep 15, 2007 2:44 pm
- Forum: Compiler
- Topic: LongWord problem
- Replies: 6
- Views: 4000
- Sat Sep 15, 2007 3:46 am
- Forum: Compiler
- Topic: LongWord problem
- Replies: 6
- Views: 4000
LongWord problem
I'm having a problem getting a 24 bit A/D value into a LongWord variable. I know the 'Shift' is working correctly as I can see the clock and data pulses on a scope. The A/D is reading a load cell, so I weighted it down till a piece of paper will roll the shifted in value passed 65535. The values rol...
- Wed Jul 18, 2007 4:07 am
- Forum: Modules
- Topic: SPI and USART conflict question
- Replies: 4
- Views: 3383
- Wed Jul 18, 2007 4:06 am
- Forum: IDE
- Topic: Block comment and block outdent/indent
- Replies: 2
- Views: 2955