You are currently browsing the archives for the Programming Language category.
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| « Jan | ||||||
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | 31 | ||
- 16-bit (60)
- 32-bit (49)
- 8-bit (86)
- Academic Discount (7)
- Accelerated Designs (1)
- Actum Solutions (1)
- Advantech Equipment (1)
- Advin (2)
- Allied Electronics (1)
- analog (3)
- Apple (1)
- Application Notes (8)
- Applied Micro Training (1)
- Arduino (1)
- Arm (2)
- Assembly (6)
- Avnet (5)
- Avnet Memec (4)
- AWC Electronics (1)
- B Knudson Data (1)
- BAJI Labs (1)
- Bartek (1)
- BASIC (5)
- Basic Micro (2)
- Battery Power (5)
- BeRTOS (1)
- Beware! (3)
- Blocksets (1)
- Blogroll (1)
- Bluetooth (2)
- Body Communication (1)
- Books (24)
- BoostC (1)
- Bootloader (2)
- Breakout Board (1)
- Bus (1)
- Butterfly Signal Processing (1)
- Byte Craft Limited (1)
- C Programming (10)
- CAN (6)
- Carl's Electronics (1)
- Case Study (3)
- CCS (6)
- Chona (1)
- Circuit Board Assembly (1)
- Circuit Cellar (3)
- Circuit Design (1)
- Closeout / Discontinued (1)
- Code Examples (5)
- Complier (26)
- Connectors (1)
- Contact me (4)
- Contest (14)
- Coupon Code Needed (2)
- Crownhill Associates (2)
- Current Electronics Inc. (1)
- Cytron Technologies (1)
- Data Acquisition (2)
- Data Logging (1)
- DC Boost Converter (1)
- DC motor (1)
- Debugger (11)
- Demo Software (7)
- Design News (2)
- Development Tool (90)
- Digi International (1)
- Digi Key (8)
- Digilent (3)
- Digital Filter Design (1)
- Digital Power (4)
- Do It Yourself (DIY) (1)
- Dontronics (4)
- Drivers (1)
- DSP (3)
- dsPIC (22)
- Eagle Air Australia (1)
- Early Adopter List (1)
- Ebay (4)
- Eclipse (1)
- EDN (1)
- EE Times (1)
- eflightworks (1)
- Electronic Design (1)
- Electronics World (1)
- Electronics123.com (1)
- Elektor Magazine (5)
- element 14 (1)
- element14 (2)
- Embed Inc (1)
- Embedded Code Source (1)
- Embedded Systems Design (3)
- Emicros (2)
- emWin (1)
- Energizer (1)
- Energy Harvesting (5)
- EPE (2)
- ESC (1)
- Ethernet (9)
- Evaluation Version (5)
- Express Logic (1)
- Facebook (3)
- Farnell (2)
- FieldServer Technologies (1)
- For Rent (1)
- Forest Electronic Developments (3)
- Forum (1)
- Free Demo (1)
- Free Shipping (7)
- Free Stuff (33)
- Free Trial (3)
- FreeRTOS (2)
- Freeware (4)
- Future Electronics (3)
- Gaming (1)
- GANG Programmer (1)
- GitHub (1)
- Global•Sources (1)
- GNU General Public License (GPL) (16)
- Google (1)
- Graphics (13)
- GUI (1)
- Hack a Day (1)
- Hacked Gadgets (1)
- Haidar Technology (2)
- HI-Tech (8)
- HMI (1)
- Hobbists (1)
- Human Interface (4)
- IC Prog (1)
- ICD (6)
- IDE (6)
- Inc. (2)
- INGENIA (1)
- IPLogika (2)
- I²C (1)
- JAL (1)
- Just for Fun (7)
- Kanda Systems Ltd. (1)
- Kid Stuff (1)
- LAN (2)
- LCD (5)
- LED (3)
- Lighting (1)
- Limited-time Offer (41)
- Linux (2)
- Live Video Stream (1)
- Logic Analyzer (2)
- Low Power (15)
- Make Magazine (6)
- MASTERs Conference (4)
- MATLAB (1)
- Matrix Multimedia (7)
- Medical (1)
- mElektrónIkos (2)
- Metering (1)
- Micrium (2)
- Microchip (56)
- Microchip Deal Site Stuff (3)
- microchipdirect (26)
- Microcontroller Pros Corporation (1)
- microEngineering Labs (1)
- Micromint (3)
- Microwire (1)
- MikroElektronika (11)
- MIPS (1)
- Modtronix (2)
- Motherboards (1)
- Motor Control (9)
- Mouser Electronics (1)
- MPASM (2)
- MPLAB (30)
- MPLLINK (1)
- MSP430 (1)
- Newark (7)
- Nuts & Volts (1)
- OLED Display (1)
- OLED Displays (1)
- Olimex (2)
- On Demand (2)
- ooPIC (1)
- Op Amps (4)
- Open Source (6)
- Pascal (3)
- PayPal (1)
- PCB (2)
- Permanent Offer (9)
- Phyton (1)
- PIC (50)
- PICList (1)
- PID (1)
- Podcast (1)
- Poken (1)
- port GmbH (1)
- Power Management (1)
- Powercast (3)
- Pragmatec SARL (1)
- Pre-Order (1)
- Probe (1)
- Product Review (2)
- Programmer (19)
- Programming Language (2)
- Protocol (1)
- Protocol Analyzer (1)
- Prototyping (5)
- QLS Electronics (1)
- Quantity Discount (1)
- Qwik&Low (1)
- Reference Design (1)
- Regional Training Centers (1)
- RF (3)
- Robotics (4)
- Roundtable Discussion (1)
- RoweBots (3)
- RS Components (1)
- RS-232 (5)
- RS-485 (2)
- RTOS (9)
- Saleae (1)
- Salvo (1)
- Samples (4)
- Schematic Symbols (1)
- SchmartBoard (1)
- Segger (2)
- Seminars & Confrences (4)
- Semtech (1)
- Sensors Expo (1)
- Serial Communications (3)
- Serial EEPROM (1)
- Servo motor (1)
- Simulator (2)
- SIMULINK (1)
- Sivava (1)
- Smart Energy (4)
- Smart Grid (1)
- Smartcards (1)
- Softlog (4)
- Software (2)
- Software Stack (8)
- Solar (1)
- Source Code (14)
- SourceBoost (1)
- SourceForge (13)
- SparkFun Electronics (2)
- SPI (1)
- Spice Models (1)
- SQUARE 1 ELECTRONICS (3)
- Summit Electronics (1)
- Survey (3)
- Sweepstakes (24)
- Switch Mode Power Supplies (1)
- Tautic Electronics (2)
- TCP/IP (3)
- Terminal Program (1)
- The Ganssle Group (1)
- TI (2)
- Timing (1)
- Tips & Tricks (8)
- Total Phase (2)
- Touch Sense (5)
- Touch Sensing (12)
- Tradeshows (14)
- Training & Education (53)
- Tutorials (4)
- Twitter (6)
- Ulity Meter (1)
- Uncategorized (15)
- USB (27)
- Van Ooijen Technische Informatica (1)
- VGA Modules (1)
- Video (4)
- Wheeler Technologies (1)
- White Paper (3)
- WiFi (4)
- Wireless (9)
- Xektek (1)
- XGS (2)
- ZeroG (1)
- ZigBee (9)
- 15. January 2012: Choina Only! 70% Discount on PICkit 3 & Many More!
- 10. January 2012: New Design Contest! Win an Pad2 or $150 Gift Card
- 7. January 2012: Maximum Power Point Conversion for Solar Applications - Training Opp
- 4. January 2012: 50% Off Online Training from Microchip
- 4. January 2012: DesignSpark launches chipKIT Challenge
- 26. December 2011: Save 30% off the ICP2GANG-DS Production Quality ICSP Secure GANG Programmer from Softlog
- 17. December 2011: Save 20% on the RS-232 Gateway to Ethernet from IPLogika
- 16. December 2011: 50% off the SEC4CH-DS Secure Programming Upgrade from Softlog
- 14. December 2011: Avnet Training Session: Solutions For Your Motor Control Needs
- 12. December 2011: 50% off the SEC-DS Secure Programming Upgrade from Softlog
Blogroll
Magazines
Other PIC Blogs
Share Microchip Deals
Where to Buy
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- 0
Archive for the Programming Language Category
3 most important techniques to use in programming
15. March 2011 by admin.
From http://www.microchipc.com/PIC_tips/PIC_tips_2.php
I had a new user to PIC micros ask me what he should learn. This is what I told him, the 3 most important techniques that I use in all my programming.
Learn how to use interrupts - they are used in buffering. In my experience, usually the arrangement is a main() loop, with interrupts collecting data to be processed by main().
Any PIC micro must collect data, then analyze it or process it. Most of the time, theres not enough time to analyze the data as its collected.
Therefore, use ring buffering. Collect the data in the background, with interrupts, filling up a ring buffer with routines such as ring_buffer_put(). In the background, at the programs leisure, use ring_buffer_get() to get the data out, and process it.
Most problems can be simplified using state machines. Learn them - trust me, it’ll save you time. Links
Search the web, using terms like ’state machine c’ or ‘ring buffer c’ on www.google.com. The following web will get you started:http://www.bknd.com/cc5x/multitasking.shtml.
Posted in Tips & Tricks, Programming Language | Print | 1 Comment »
B.Lo.C Language for PIC Micro
16. December 2009 by admin.
from http://pp06.sourceforge.net/bloc.html
Fast Development On - Time
BLOC
C like language
- Fast to Write, fewer mistakes
- Programs are readable, and comprehensible
- Familiar to available programming staff
- Code will be supportable by new or different staff into the future
- Programs can be ported easily from algorithms developed in C,
- Code can be ported to other processors
Designed for PIC architecture
- No stack usage
- No use of intermediate storage during expression evaluation
- No “optimization” : code executes as written
- BLOC was written for real time signal processing at 10kHz using the PIC 16C71 !
Posted in Butterfly Signal Processing, Programming Language | Print | 1 Comment »
