pic18 Questions

8

Solved

I already read the datasheet and google but I still don't understand something. In my case, I set PIN RC6 of a PIC18F26K20 in INPUT mode: TRISCbits.TRISC6 = 1; Then I read the value with PORT and L...
Titustityus asked 12/4, 2010 at 16:0

13

How does one create threads that run in parallel while programming PIC18, since there is no OS?
Histopathology asked 26/10, 2009 at 11:14

3

Solved

I'm using Visual Studio for writing desktop applications, and I find it very user friendly and easy to use. If possible, I also want to write embedded code in Visual Studio. For example, is it pos...
Alee asked 16/5, 2012 at 22:11

5

Solved

I have some code in an ISR. The code is given for completeness, the question is only about the commented-out __asm_ block. Without the __asm_ block, this is compiled into 82 instructions. With the...
Chiseler asked 2/7, 2011 at 1:40

3

Solved

I have some functions that are designed to handle 1-256 bytes, running on an embedded C platform where passing a byte is much faster and more compact than passing an int (one instruction versus thr...
Attrahent asked 19/8, 2010 at 16:0

1

Solved

Using Microchip C18 compiler with a pic18f, I want to create a "big" buffer of 3000 bytes in the program data space. If i put this in the main() (on stack): char tab[127]; I have this error: E...
Misdeem asked 6/6, 2010 at 10:32
1

© 2022 - 2024 — McMap. All rights reserved.