CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 13 matches
CCS Forum Index
Author Message
  Topic: Microcontroller as a USB host
Picmicro_man

Replies: 3
Views: 10089

PostForum: General CCS C Discussion   Posted: Tue Feb 14, 2023 6:17 am   Subject: Microcontroller as a USB host
Thanks Ttelmah for your detailed description.
I was also looking for FTDI Vinculum chip as you mentioned, Also I checked their website there are some firmware available as a sample.
As I am new to U ...
  Topic: Microcontroller as a USB host
Picmicro_man

Replies: 3
Views: 10089

PostForum: General CCS C Discussion   Posted: Tue Feb 14, 2023 1:14 am   Subject: Microcontroller as a USB host
Hi Guys
I want to work on USB which I never worked before. I want my microcontroller to works as a USB Host.
There are two ways
1- One microcontroller which have USB host firmware and all other fu ...
  Topic: write_eeprom and read_eeprom
Picmicro_man

Replies: 14
Views: 35568

PostForum: General CCS C Discussion   Posted: Wed Jan 19, 2022 5:24 am   Subject: write_eeprom and read_eeprom
i also tried to do this but same result


#include <16F877A.h>
#device adc=8

#FUSES HS,PUT,BROWNOUT,NOLVP,NOCPD,NOWRT,NODEBUG,NOPROTECT

#use delay(clock=20000000)
#use rs232&# ...
  Topic: write_eeprom and read_eeprom
Picmicro_man

Replies: 14
Views: 35568

PostForum: General CCS C Discussion   Posted: Wed Jan 19, 2022 4:11 am   Subject: write_eeprom and read_eeprom
Hi Guys
I am still unable to read/write to/from EEPROM.

I added 0.1uF capacitors on the Vss and Vdd pins of microcontroller, also I added BROWNOUT fuse
following is the code


#include <16 ...
  Topic: write_eeprom and read_eeprom
Picmicro_man

Replies: 14
Views: 35568

PostForum: General CCS C Discussion   Posted: Tue Jan 11, 2022 6:59 am   Subject: write_eeprom and read_eeprom
I am using adaptor of 12V 300mA (I have to check if this really gives 300mA or not) then 5v regulator. 100uF is on input and 10uF is on output of regulator.

Let me try BROWNOUT Fuses enabled and ch ...
  Topic: write_eeprom and read_eeprom
Picmicro_man

Replies: 14
Views: 35568

PostForum: General CCS C Discussion   Posted: Mon Jan 10, 2022 11:27 pm   Subject: write_eeprom and read_eeprom
another question.

If the EEPROM is damaged then all the part of EEPROM will be damage or only the address will be effected which we are writing?
  Topic: write_eeprom and read_eeprom
Picmicro_man

Replies: 14
Views: 35568

PostForum: General CCS C Discussion   Posted: Mon Jan 10, 2022 11:21 pm   Subject: write_eeprom and read_eeprom
Hi Guys

@Ttelmah @temtronic


What compiler version?

The version I am working on is 4.124


I actually wondered if he originally tried with the WDT enabled

No I didn't enabled the WDT. ...
  Topic: write_eeprom and read_eeprom
Picmicro_man

Replies: 14
Views: 35568

PostForum: General CCS C Discussion   Posted: Mon Jan 10, 2022 6:10 am   Subject: write_eeprom and read_eeprom
Hi Guys
Simple query related to eeprom. I am unable to write and then read from eeprom. values displaying on LCD is 0.
Following is my code

#include <16F877A.h>
#device adc=8

#FUSES NOW ...
  Topic: string to decimal conversion
Picmicro_man

Replies: 8
Views: 24099

PostForum: General CCS C Discussion   Posted: Tue Jan 04, 2022 6:44 am   Subject: string to decimal conversion
Hi
I have modified the code and make a function but I am confuse with the array and pointer. Can you point me the mistake here? I am not getting the result as it was in my previous program



cha ...
  Topic: string to decimal conversion
Picmicro_man

Replies: 8
Views: 24099

PostForum: General CCS C Discussion   Posted: Tue Jan 04, 2022 6:32 am   Subject: string to decimal conversion
Hi
I have tried this

char array[13] = {"2369,505,2369"};
char *ptr;
int value = 0x30;
int dec_array[4];
int16 converted_value;
int a;

void main( ...
  Topic: string to decimal conversion
Picmicro_man

Replies: 8
Views: 24099

PostForum: General CCS C Discussion   Posted: Tue Jan 04, 2022 5:53 am   Subject: string to decimal conversion
Hi.
If so you have a complete number. Store this.

How to store one complete number in a single variable? like 2369


#include <16F877A.h>
#device adc=8

#FUSES NOWDT,HS,PUT,NOBROWNOUT, ...
  Topic: string to decimal conversion
Picmicro_man

Replies: 8
Views: 24099

PostForum: General CCS C Discussion   Posted: Tue Jan 04, 2022 3:36 am   Subject: string to decimal conversion
Hi Guys
I am receiving serial data as follows:
2369,505,2369,505,0047,0000,001,018,000,000,000,000,000,024,000,000,0018,0000,0000,0000,0,0,0,1,0,0,1,0
I want to separate this data and store as a de ...
  Topic: Print Hex format issue
Picmicro_man

Replies: 1
Views: 11067

PostForum: General CCS C Discussion   Posted: Sat Jan 01, 2022 4:47 am   Subject: Print Hex format issue
Hi All
I have a basic question.
I am using PIC16f877A along with CCS compiler.
I am stuck in a little thing.
I am serially out the following code

unsigned char command_send[] = "^P ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group