Search found 56 matches
- 12 Jan 2010 11:29
- Forum: Development Boards Wishlist
- Topic: Tristate DIP switch
- Replies: 3
- Views: 4192
I have been waiting for this for quite some time as well. It would appear that the board has evolved to the proper point to where switching to tristate DIP switches would be elementary. It might cost a bit more, bit I think people will be able to stomach the extra $5-10 for tristate switches. The on...
- 27 Sep 2008 01:14
- Forum: mikroC General
- Topic: Reading from RC4 and RC5 on a PIC18F2550
- Replies: 9
- Views: 3844
- 26 Sep 2008 20:11
- Forum: mikroC General
- Topic: Reading from RC4 and RC5 on a PIC18F2550
- Replies: 9
- Views: 3844
- 26 Sep 2008 19:19
- Forum: mikroC General
- Topic: Reading from RC4 and RC5 on a PIC18F2550
- Replies: 9
- Views: 3844
The code is supposed to read PORTC and write it to LATB. All of the pins transfer properly except RC3 (which doesn't exist), RC4, and RC5. I've been twiddling pins in PORTC externally to see what shows up on PORTB. EDIT: Btw, this problem is very specific to the PIC18F2550 and PIC18F2455. If you are...
- 26 Sep 2008 17:56
- Forum: mikroC General
- Topic: Reading from RC4 and RC5 on a PIC18F2550
- Replies: 9
- Views: 3844
Writing to LATB does the same thing as writing to PORTB. I've just gotten into the habit of writing outputs to the latch directly since read-modify-writes of the port can change bits unintentionally because they can sometimes be read wrong depending on the setup of the circuit. Writing to LATB is no...
- 26 Sep 2008 06:45
- Forum: mikroC General
- Topic: Reading from RC4 and RC5 on a PIC18F2550
- Replies: 9
- Views: 3844
- 16 Sep 2008 23:29
- Forum: mikroC General
- Topic: Reading from RC4 and RC5 on a PIC18F2550
- Replies: 9
- Views: 3844
Reading from RC4 and RC5 on a PIC18F2550
This has been driving me crazy. I need to read the state of RC4 and/or RC5 at one point in the initialization of my program (there are two versions of the board that the chip is on, on the older one RC4:5 are tied to RA4:5 and I need to detect this to fix another miswire on that board). However, the...
- 12 Jul 2007 17:31
- Forum: mikroC General
- Topic: mikroC produces an access violation when it compiles sizeof
- Replies: 4
- Views: 2663
- 06 Jul 2007 05:39
- Forum: mikroC General
- Topic: mikroC produces an access violation when it compiles sizeof
- Replies: 4
- Views: 2663
mikroC produces an access violation when it compiles sizeof
I am running Windows Vista Home Premium and the latest (though dated) version of mikroC (6.2.1.0). One particular project causes mikroC to produce an access violation: Access violation at address 0040653C in module 'mikroC.exe'. Read of address 00000078. Restarting the computer and mikroC didn't hel...
- 11 Jun 2007 20:08
- Forum: mikroC General
- Topic: How to send with MMC_FAT_WRITE a carriage return char???
- Replies: 3
- Views: 2139
- 15 May 2007 07:00
- Forum: mikroC Wish List
- Topic: swapf() macro
- Replies: 4
- Views: 6571
- 15 May 2007 06:56
- Forum: mikroC Wish List
- Topic: Debugger with output chronogramm
- Replies: 4
- Views: 4473
- 15 May 2007 06:54
- Forum: mikroC Wish List
- Topic: Device and clock global defines
- Replies: 1
- Views: 2993
Device and clock global defines
Are the device and clock speed #defined globally so they can be used for conditional compilation? If not, then they really should be. There are clock_khz and clock_mhz functions, but these are not exactly what I am looking for... BTW, you guys almost always answer that things will be implemented in ...
- 28 Jan 2007 21:38
- Forum: mikroC Wish List
- Topic: Project level #define like using -D in other compilers
- Replies: 3
- Views: 5112
- 14 Jan 2007 04:13
- Forum: mikroC General
- Topic: GPS clock
- Replies: 8
- Views: 3776