Pic-man is a development board powered by a 16 bit PIC microprocessor.
This library can be used to power a 2 row OLED screen. The board comes with a 5x2 connector that can hook up to common screens bought from Adafruit or Sparkfun.
Functions
void init_oled ( void )
- Sets IO pins and runs through screen start routine.void set_cursor ( int col, int row ) - Set the cursor to the specified row and column.
void print ( char* text )
- Prints a string to the screen.void clear ( void ) - Clears the screen.
void home ( void ) - Set the cursor to the first column on the first row.
This library can be used to control stepper motors in full or half stepping modes.
Functions
void init_stepper (void )
void move_deg ( float degrees, float degree )
void set_rpm ( float rpm )
void stop (void )
This library can be used to handle input from a stadard rotary encoder with a button. It has 3 digital inputs, 2 for the rotary encoder and 1 for the button.
Functions
void init_rot ( void )
unsigned char get_rot_value ( void )
unsigned char get_rot_but_value ( void )
This library can be used to handle analog inputs like a potentiometer or something.
Functions
void init_ad ( void )
int get_ad_value ( void )
unsigned char get_rot_but_value ( void )
This library uses the output capture feature of the PIC and can be used to output a PWM signal on a IO pin.
Functions
void update_pwm ( int duty_index )