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 83 matches
CCS Forum Index
Author Message
  Topic: Setup/enable I2C internal pull-ups
Woody

Replies: 17
Views: 8618

PostForum: General CCS C Discussion   Posted: Thu Sep 12, 2024 5:46 am   Subject: Setup/enable I2C internal pull-ups
The really small ones don't even have printing on them. Sizes like 0201
and 0402. Hand soldering these is something that should be used as the
basis for a silly TV program. 'Resistor wars', or som ...
  Topic: Setup/enable I2C internal pull-ups
Woody

Replies: 17
Views: 8618

PostForum: General CCS C Discussion   Posted: Thu Sep 12, 2024 5:37 am   Subject: Setup/enable I2C internal pull-ups

BTW does 2431 mean red-yellow-orange-brown ??
What ARE you on about??? Very Happy

I believe the 5-band color coding for this 1% resistor would be red-yellow-orange-brown-brown. Using 5-band 1% thr ...
  Topic: Setup/enable I2C internal pull-ups
Woody

Replies: 17
Views: 8618

PostForum: General CCS C Discussion   Posted: Thu Sep 12, 2024 2:29 am   Subject: Setup/enable I2C internal pull-ups
I hope you did not lose too much sleep over it Laughing

Being close to extinction myself I like a challenge so I heated up the welding torch and got to it. I'm not too miffed about the result:

htt ...
  Topic: Setup/enable I2C internal pull-ups
Woody

Replies: 17
Views: 8618

PostForum: General CCS C Discussion   Posted: Wed Sep 11, 2024 10:52 am   Subject: Setup/enable I2C internal pull-ups
Now I'm assuming that you are using the internal I2C pull-ups?. If so, FME has the extra function, of changing the current this peripheral
produces. Hence why the bus works when the FME bit gets set, ...
  Topic: Setup/enable I2C internal pull-ups
Woody

Replies: 17
Views: 8618

PostForum: General CCS C Discussion   Posted: Wed Sep 11, 2024 5:15 am   Subject: Setup/enable I2C internal pull-ups
Man, this is complicated.

I renewed my compiler. This seems to partly solve my problem. I now can use the FAST=nnnnnn parameter in #use i2c() and that gives me the desired baud rate.

But I fin ...
  Topic: Setup/enable I2C internal pull-ups
Woody

Replies: 17
Views: 8618

PostForum: General CCS C Discussion   Posted: Tue Sep 10, 2024 5:07 am   Subject: Setup/enable I2C internal pull-ups
Hi,

I don't want to start a new thread as this one exactly describes the problem I run into.

My question: did anyone ever find out why #use I2C() does not work for setting the I2C clock speed? ...
  Topic: I2C pull-ups on 18F14Q41 need WPU active?
Woody

Replies: 1
Views: 1400

PostForum: General CCS C Discussion   Posted: Mon Sep 09, 2024 3:29 am   Subject: I2C pull-ups on 18F14Q41 need WPU active?
I managed to forget to put two pull-ups on a prototype I'm working on. No immediate need to heat up the soldering iron, because for birdbrains like me the 18F14Q43 contains I2C pull-up circuitry. Good ...
  Topic: caller id and a PIC
Woody

Replies: 2
Views: 2429

PostForum: General CCS C Discussion   Posted: Tue Jul 16, 2024 8:01 am   Subject: caller id and a PIC
Yes, quite some time ago. I looked it up; according to the time stamp the code was lastly compiled with CCS PCW C Compiler, Version 3.110 on 10/18/2002 Laughing

It interfaced a PIC16f628 to an MT8870 ...
  Topic: Can I use a Load n Go together with serialize?
Woody

Replies: 2
Views: 4153

PostForum: General CCS C Discussion   Posted: Mon Mar 11, 2024 9:09 am   Subject: Can I use a Load n Go together with serialize?
Will do. They'll probably ask me to renew my license first as that timed out last October, but that will be worth it Very Happy
  Topic: Can I use a Load n Go together with serialize?
Woody

Replies: 2
Views: 4153

PostForum: General CCS C Discussion   Posted: Mon Mar 11, 2024 7:06 am   Subject: Can I use a Load n Go together with serialize?
I have a LoRa device that needs a unique 32 byte Appkey programmed in every unit. I managed to make this work with #serialize, the ICD-U80 and a file containing the keys. Kudos to CCS for having thoug ...
  Topic: Learned something about Timer0, at least on an 18F55Q43
Woody

Replies: 2
Views: 9795

PostForum: General CCS C Discussion   Posted: Wed Nov 02, 2022 4:19 am   Subject: Learned something about Timer0, at least on an 18F55Q43
I use Timer0 as the go-to timer in nearly all of my programs. Its interrupt is used to maintain timers to blink leds, generate seconds or minutes, pulse relays, debounce switches and what not. Normall ...
  Topic: Somewhat limited use of F ports on 55Q43
Woody

Replies: 4
Views: 13387

PostForum: General CCS C Discussion   Posted: Tue Nov 01, 2022 1:54 am   Subject: Somewhat limited use of F ports on 55Q43
Yep. 950 pages of datasheet and the idea that you can fix things afterwards makes you cross-eyed and lazy and that leads to surprises. OTOH, I was saved a couple of times by CLC functionality, so I am ...
  Topic: Somewhat limited use of F ports on 55Q43
Woody

Replies: 4
Views: 13387

PostForum: General CCS C Discussion   Posted: Mon Oct 31, 2022 4:53 am   Subject: Somewhat limited use of F ports on 55Q43
In the LoRa prototype I'm working I want to use as little power as possible, so I sleep the MCU most of the time, only to wake it up on a power event or an external timer event. These interrupts I att ...
  Topic: CayenneLPP data format
Woody

Replies: 9
Views: 20606

PostForum: General CCS C Discussion   Posted: Thu Oct 27, 2022 2:34 am   Subject: CayenneLPP data format
WOW!

I have not looked in detail at the code yet, but it takes the 'ROM used' down from 5984 to 5660 bytes. A lot more efficient.

As always, thanks for the explanation. I learn from it!

Rega ...
  Topic: CayenneLPP data format
Woody

Replies: 9
Views: 20606

PostForum: General CCS C Discussion   Posted: Thu Oct 27, 2022 2:20 am   Subject: CayenneLPP data format
WOW!

I have not looked at the code yet, but it took the 'ROM used down form 5984 to 5660 bytes. A lot more efficient.

As always, thanks for the explanation. I learn from it.
 
Page 1 of 6 Goto page 1, 2, 3, 4, 5, 6  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group