TOP Contributors

  1. MIKROE (2779 codes)
  2. Alcides Ramos (376 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139559 times)
  2. FAT32 Library (72041 times)
  3. Network Ethernet Library (57254 times)
  4. USB Device Library (47607 times)
  5. Network WiFi Library (43219 times)
  6. FT800 Library (42551 times)
  7. GSM click (29930 times)
  8. mikroSDK (28292 times)
  9. PID Library (26930 times)
  10. microSD click (26309 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Library

All in One - 7 function and sub 7seg Lib in avr :)

Rating:

0

Author: Ebrahim Rahmanian

Last Updated: 2018-12-19

Package Version: 1.0.0.0

Category: Graphics & LCD

Downloaded: 183 times

Not followed.

License: MIT license  

All in One - 7 function and sub 7seg Lib in avr :)

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "All in One - 7 function and sub 7seg Lib in avr :)" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "All in One - 7 function and sub 7seg Lib in avr :)" changes.

Do you want to report abuse regarding "All in One - 7 function and sub 7seg Lib in avr :)".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Library Blog


//Version:950105_1
//+===============================================================================+
//|1.add "7SegLib.h","7SegLib.c" to Project                                       |
//|2.include "7SegLib.h" in project                                               |
//|3.Call SevenSeg_init                                                           |
//|4.Enjoy!                                                                       |
//|===============================================================================|
//|Mana Research Group©                                                           |
//|Simple lib for 7Seg                                                            |
//|Ver : 950105_1 (2016/01/24)                                                    |
//|Ebrahim Rahmanian www.Mikroc.ir                                        |
//+===============================================================================+

//Ex)
//SevenSeg_init(0,&Portd,0,&Portd,1,&Portd,2,&Portd,3,&Portd,4,&Portd,5,&Portd,6,&Portd,7);
void SevenSeg_init(char SevenSegType_1CommonAnoth0CommonCathode,char *a_Port,char a_PinNum,char *b_Port,char b_PinNum,char *c_Port,char c_PinNum,char *d_Port,char d_PinNum,
                                     char *e_Port,char e_PinNum,char *f_Port,char f_PinNum,char *g_Port,char g_PinNum,char *p_Port,char p_PinNum);
                                     
                                     
void SevenSeg_AllSegOff();
void SevenSeg_SetValueNumber(char Value0_9,char P_on1_Off0);

//Ex)
//SevenSeg_SetValueAsciiChar('g',1);
void SevenSeg_SetValueAsciiChar(char Value_0123456789AbCcdEeFgHhIJLOoPqSUuy,char P_on1_Off0);
void SevenSeg_SetSpecialValue(char SpecialCode);

//Ex)
//SevenSeg_SetSpecialValue(SevenSeg_CreateSpecialCode(1,0,1,0,1,0,1,0));
char SevenSeg_CreateSpecialCode(char a_On1_OFF0,char b_On1_OFF0,char c_On1_OFF0,char d_On1_OFF0,char e_On1_OFF0,char f_On1_OFF0,char g_On1_OFF0,char p_On1_OFF0);
char SevenSeg_GetValue();

ALSO FROM THIS AUTHOR

All in One_85Function_Button and keypad1*1 ... 9*9key Lib

0

All in One_Button and keypad1*1 ... 9*9key Lib

[Learn More]

This Code is 250% Faster! Than Default StrCpy() subroutine for mikroc AVR

0

This Code is 250% Faster! Than Default StrCpy() subroutine for mikroc AVR

[Learn More]