Microchip PIC24

35 discussions on ElectronDepot about the Microchip PIC24: what owners asked, what went wrong, and what fixed it.

What owners report

RS 232 Code für Mic rocontroller (GCC C ompiler)

Moin,ich muss an einen Microcontroller f=FCnf Ger=E4te mit RS232 Schnittstelleanschlie=DFen. Dabei l=E4uft die Kommunikation nur mit maximal 9600 Baud,wahrscheinlich noch langsamer. Es wird nur ab und zu einStarte-Messung Befehl gegeben und...

Fundamental C question about "if" statements

Learning some embedded C using Microchip's C18 Lite. I tried the following and it misbehaved: if( 10 < my_variable < 20 ) { //do this......} Using the following works: if (( x > 10) & ( x < 20)) { //do this.....} Is it normal that C...

code optimization in embedded systems

1. using switch kerword properlyRemember that put the most frequently used case branch on the firstplace of switch-case branches. It helps to reduce time spent ondetemining which branch to execute. 2. using assembly language for...

All discussions