EasyNixie
EasyNixie.h
1 #ifndef _EASY_NIXIE
2 #define _EASY_NIXIE
3 #include "Arduino.h"
4 
15 #define EASY_NIXIE_BLUE 1
16 #define EASY_NIXIE_GREEN 2
17 #define EASY_NIXIE_RED 3
18 #define EASY_NIXIE_WHITE 4
19 #define EASY_NIXIE_RuB 5
20 #define EASY_NIXIE_RuG 6
21 #define EASY_NIXIE_BuG 7
22 
25 class EasyNixie{
26  public:
28  uint8_t outputEnable;
30  uint8_t shcp;
32  uint8_t stcp;
34  uint8_t dsin;
35 
42  EasyNixie(uint8_t outputEnable,uint8_t shcp, uint8_t stcp, uint8_t dsin);
43 
56  void SetNixie(uint8_t number,uint8_t color,bool voltage=true,bool comma = false,uint16_t dimming=0);
57 
59  void Latch(void);
60 };
61 
62 #endif
63 
EasyNixie::EasyNixie
EasyNixie(uint8_t outputEnable, uint8_t shcp, uint8_t stcp, uint8_t dsin)
This constructor takes 4 pin names as arguments, they are labeled OUT_EN, SHCP, STCP and DSIN on your...
Definition: EasyNixie.cpp:3
EasyNixie::shcp
uint8_t shcp
The microcontroller pin connected to SHCP pin of the EasyNixie.
Definition: EasyNixie.h:30
EasyNixie::SetNixie
void SetNixie(uint8_t number, uint8_t color, bool voltage=true, bool comma=false, uint16_t dimming=0)
Set nixie digit/symbol on your EasyNixie. If you have multiple modules connected 'in series' (EasyNix...
Definition: EasyNixie.cpp:15
EasyNixie::dsin
uint8_t dsin
The microcontroller pin connected to DSIN pin of the EasyNixie.
Definition: EasyNixie.h:34
EasyNixie::outputEnable
uint8_t outputEnable
The microcontroller pin connected to OUT_EN pin of the EasyNixie.
Definition: EasyNixie.h:28
EasyNixie
The main EasyNixie class.
Definition: EasyNixie.h:25
EasyNixie::stcp
uint8_t stcp
The microcontroller pin connected to STCP pin of the EasyNixie.
Definition: EasyNixie.h:32
EasyNixie::Latch
void Latch(void)
This method 'displays' the digit that you have set using SetNixie, be sure to call it after SetNixie.
Definition: EasyNixie.cpp:38