Solar panel
|
#include <xc.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdio.h>
#include "lcd/lcd.h"
#include "pwm.h"
#include "measure.h"
#include "modbus.h"
#include "uart.h"
Go to the source code of this file.
Macros | |
#define | _XTAL_FREQ 64000000L |
Functions | |
void | init_hw () |
void | main (void) |
Variables | |
uint8_t | tmpStr [30] |
uint16_t | u |
Voltage in milliovolts. | |
uint16_t | i |
Current in microamperes. | |
uint16_t | p |
Power in microwatts. | |
uint16_t | offset |
uint16_t | pwm = 512 |
#define _XTAL_FREQ 64000000L |
Definition at line 18 of file old_main.c.
void init_hw | ( | ) |
Initialize clock, buttons, leds and interrupts
Definition at line 22 of file old_main.c.
void main | ( | void | ) |
Definition at line 43 of file old_main.c.
uint16_t i |
Current in microamperes.
Definition at line 37 of file old_main.c.
uint16_t offset |
Definition at line 40 of file old_main.c.
uint16_t p |
Power in microwatts.
Definition at line 38 of file old_main.c.
uint16_t pwm = 512 |
Definition at line 41 of file old_main.c.
uint8_t tmpStr[30] |
Definition at line 35 of file old_main.c.
uint16_t u |
Voltage in milliovolts.
Definition at line 36 of file old_main.c.