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 223 matches
CCS Forum Index
Author Message
  Topic: Good set of examples
PICoHolic

Replies: 0
Views: 10929

PostForum: Code Library   Posted: Thu Feb 16, 2023 4:33 am   Subject: Good set of examples
I came across this website, might be useful.

https://simple-circuit.com/ccs-c-projects/

Cheers!
  Topic: Another serial bootloader
PICoHolic

Replies: 0
Views: 15816

PostForum: Code Library   Posted: Tue Apr 05, 2022 7:45 am   Subject: Another serial bootloader
Hello!

Here's a simple and light serial bootloader initially developed for K22 family.

Github link https://github.com/MajdiRicha/serial_bl

(Firmware and software included)

Anyone can requ ...
  Topic: Basic co-operative scheduler - v: 1.0.4
PICoHolic

Replies: 9
Views: 58260

PostForum: Code Library   Posted: Wed Apr 17, 2019 12:37 am   Subject: Basic co-operative scheduler - v: 1.0.4
Updated to v: 1.0.4

Note: not all features have been thoroughly tested.
  Topic: Basic co-operative scheduler - v: 1.0.4
PICoHolic

Replies: 9
Views: 58260

PostForum: Code Library   Posted: Thu Mar 28, 2019 1:55 pm   Subject: Basic co-operative scheduler - v: 1.0.4
Updated to v: 1.0.1
  Topic: Basic co-operative scheduler - v: 1.0.4
PICoHolic

Replies: 9
Views: 58260

PostForum: Code Library   Posted: Mon Mar 25, 2019 1:13 am   Subject: Basic co-operative scheduler - v: 1.0.4

The round-robin co-operative scheduler that you've implemented makes an assumption that the tasks will always run to completion faster than the SysTick


Thank you.

Yes I know, actually I have ...
  Topic: Basic co-operative scheduler - v: 1.0.4
PICoHolic

Replies: 9
Views: 58260

PostForum: Code Library   Posted: Sun Mar 24, 2019 1:23 pm   Subject: Basic co-operative scheduler - v: 1.0.4
You have a point, will have to try it
  Topic: Basic co-operative scheduler - v: 1.0.4
PICoHolic

Replies: 9
Views: 58260

PostForum: Code Library   Posted: Sat Mar 23, 2019 3:27 pm   Subject: Basic co-operative scheduler - v: 1.0.4
Well, surprisingly, the compiler did not allow me to use sTask *. So I had to put void * instead and then cast it Confused
  Topic: Basic co-operative scheduler - v: 1.0.4
PICoHolic

Replies: 9
Views: 58260

PostForum: Code Library   Posted: Fri Mar 22, 2019 11:01 am   Subject: Basic co-operative scheduler - v: 1.0.4
Hello,

This is a basic scheduler (not yet an RTOS).
Features:
- Runtime task creation
- Runtime task deletion
- Runtime task suspending/resuming
- Runtime task's execution rate change
- Task' ...
  Topic: MDIO CL22 master using bit-banging SPI
PICoHolic

Replies: 0
Views: 22551

PostForum: Code Library   Posted: Wed Jul 25, 2018 7:09 am   Subject: MDIO CL22 master using bit-banging SPI
mdio.h

#ifndef _MDIO_H_
#define _MDIO_H
///////////////////////////////////////////////////////////////////////////////
//IO def:
#define MDC_PIN PIN_C0
#define MDIO_PIN PIN_C1

#define ...
  Topic: Fonts for GLCD/TFT using TheDotFactory tool
PICoHolic

Replies: 1
Views: 40137

PostForum: Code Library   Posted: Tue Feb 27, 2018 3:02 pm   Subject: Fonts for GLCD/TFT using TheDotFactory tool
Updated functions

unsigned int8 TDFPutChar(unsigned int16 x, unsigned int16 y, char c, FONT_INFO *TDFFont, \
unsigned int16 ForColor, unsigned int16 BackColor) //returns char width ...
  Topic: SlickEdit integration
PICoHolic

Replies: 5
Views: 20319

PostForum: General CCS C Discussion   Posted: Wed Feb 14, 2018 7:21 am   Subject: SlickEdit integration
I didn't see anything in the 6 page PDF that would convince me to migrate from MPLAB 8v86. Maybe I'm missing something? Have to admit after 25 years of 'playing with PICs' I could just be stubborn!
...
  Topic: SlickEdit integration
PICoHolic

Replies: 5
Views: 20319

PostForum: General CCS C Discussion   Posted: Fri Jun 30, 2017 2:39 am   Subject: SlickEdit integration
Short manual:
http://myr.smoothdesign.net/downloads/misc/SlickEdit%20+%20CCS%201.0.1.pdf
  Topic: CCS C and SlickEdit
PICoHolic

Replies: 2
Views: 9958

PostForum: General CCS C Discussion   Posted: Tue Jan 10, 2017 2:45 pm   Subject: CCS C and SlickEdit
http://www.ccsinfo.com/forum/viewtopic.php?t=48686&highlight=slickedit
  Topic: sprintf has no effect in multiple compilation units
PICoHolic

Replies: 2
Views: 7795

PostForum: General CCS C Discussion   Posted: Mon Jan 18, 2016 11:33 pm   Subject: sprintf has no effect in multiple compilation units
Hello newguy,

No, it's not visible to both units; just to the one I'm calling from. Should it be visible to both?

Thanks
  Topic: sprintf has no effect in multiple compilation units
PICoHolic

Replies: 2
Views: 7795

PostForum: General CCS C Discussion   Posted: Mon Jan 18, 2016 5:16 pm   Subject: sprintf has no effect in multiple compilation units
Hello,

I have noticed a strange behavior of sprintf function. It has no effect when called within a C file other than the main one in multiple compilation units. If I move the same statement to the ...
 
Page 1 of 15 Goto page 1, 2, 3 ... 13, 14, 15  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group