TOP Contributors

  1. MIKROE (2650 codes)
  2. Alcides Ramos (350 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 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 (136538 times)
  2. FAT32 Library (69734 times)
  3. Network Ethernet Library (55842 times)
  4. USB Device Library (46178 times)
  5. Network WiFi Library (41801 times)
  6. FT800 Library (40989 times)
  7. GSM click (28922 times)
  8. PID Library (26384 times)
  9. mikroSDK (26281 times)
  10. microSD click (25299 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: 161 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]

All in One - 31 function and sub , RTC ds1307 1307 in avr :)

5

Please download and Read Help.pdf ..............................Enjoy!

[Learn More]