Author |
Message |
Topic: code from avr to pic |
Homie
Replies: 5
Views: 6946
|
Forum: General CCS C Discussion Posted: Wed Dec 26, 2007 2:29 pm Subject: code from avr to pic |
Thanks mate. Now I got it to work compile without errors |
Topic: code from avr to pic |
Homie
Replies: 5
Views: 6946
|
Forum: General CCS C Discussion Posted: Wed Dec 26, 2007 2:04 pm Subject: code from avr to pic |
is there anybode who can help me transform this code to pic??
/**
* __DEF_MCU_xxx__ : define option related to MCU
*/
#define __DEF_MCU_AVR__
#ifdef __DEF_MCU_AVR__
#include <stdio ... |
Topic: code from avr to pic |
Homie
Replies: 5
Views: 6946
|
Forum: General CCS C Discussion Posted: Wed Dec 26, 2007 12:06 pm Subject: code from avr to pic |
ok great i can just delete the volatile? i didnt knew that int is 8bit in CCS :P
thanks alot mate |
Topic: code from avr to pic |
Homie
Replies: 5
Views: 6946
|
Forum: General CCS C Discussion Posted: Wed Dec 26, 2007 11:16 am Subject: code from avr to pic |
Hi there im trying to change a driver for the Wiznet NM7010B+ netværks modul. its written for an avr chip, and im trying to get it to work on a pic. its hard because im not that good now i got alo ... |
Topic: H E L P - 12F629 LED BLINK CODE NEEDED, PLEASE, PLEASE |
Homie
Replies: 38
Views: 55252
|
Forum: General CCS C Discussion Posted: Fri Aug 18, 2006 7:35 pm Subject: H E L P - 12F629 LED BLINK CODE NEEDED, PLEASE, PLEASE |
Funky just click your About menu in IDE there youll see your version.. |
Topic: H E L P - 12F629 LED BLINK CODE NEEDED, PLEASE, PLEASE |
Homie
Replies: 38
Views: 55252
|
Forum: General CCS C Discussion Posted: Wed Aug 16, 2006 7:42 pm Subject: H E L P - 12F629 LED BLINK CODE NEEDED, PLEASE, PLEASE |
sorry Banana for the syntax errors, i made the code while i was writing. In C you all way have to finish your statements with a ; Execpt if it is a function, define, include or likes. And the the err ... |
Topic: H E L P - 12F629 LED BLINK CODE NEEDED, PLEASE, PLEASE |
Homie
Replies: 38
Views: 55252
|
Forum: General CCS C Discussion Posted: Wed Aug 16, 2006 2:38 pm Subject: H E L P - 12F629 LED BLINK CODE NEEDED, PLEASE, PLEASE |
I dont know if it is in asembler or just i any language toy want some code help..
but heres in C
/*you start with adding your device header file (holds all the info over the pic, such as pins, ... |
Topic: Help needed converting MSP430 code to PIC16F877(CCS) |
Homie
Replies: 2
Views: 7128
|
Forum: General CCS C Discussion Posted: Sun Aug 13, 2006 6:05 pm Subject: Help needed converting MSP430 code to PIC16F877(CCS) |
Thanks for the help mate, i had the most figured out in the mean time tho
Ofcourse i wont PM you, if i have questions ill it post here. Thats what the forum is here for. And i dont want you to d ... |
Topic: Help needed converting MSP430 code to PIC16F877(CCS) |
Homie
Replies: 2
Views: 7128
|
Forum: General CCS C Discussion Posted: Sun Aug 13, 2006 12:50 pm Subject: Help needed converting MSP430 code to PIC16F877(CCS) |
P3OUT = IOR | IOW; // reset outputs, control lines high
P3DIR = 0xff;
Hvad does this statement mean?? Set PIN IOR and IOW high???
BCSCTL1 &= ~DIVA0; ... |
Topic: GLCD problem - See Photo |
Homie
Replies: 5
Views: 6969
|
Forum: General CCS C Discussion Posted: Fri Aug 11, 2006 11:46 pm Subject: GLCD problem - See Photo |
CS1 and CS2 is chip select 1 and 2. My guess is that your display is a 128x64bit display. And every chip can handle 8 rows at 8bits =64bits, therefore you need 2 chips to cover the whole display.
- ... |
Topic: PIC16F877 and CS8900A webserver help needed |
Homie
Replies: 0
Views: 3202
|
Forum: General CCS C Discussion Posted: Fri Aug 11, 2006 5:28 pm Subject: PIC16F877 and CS8900A webserver help needed |
Hi im trying to make a webserver, but im just not good enough to do it myself. Ive founded a ton of examples but every time its either not a pic used or it written in an other compiler than CCS etc et ... |
|