Skip to content
This repository was archived by the owner on Sep 12, 2024. It is now read-only.

graboskyc/BabyReport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BabyReport

Pieces

Configuration

GPIO pinout can be found here

The C# projects each have a AppConstants.cs file which is omitted here due to security for the strings. The format should be:

using System.Collections.Generic;

    namespace BabyReport
{
    public static class AppConstants
    {
        public static string newEventEndpoint = ""; // trailing slash
        public static string eventEndpointSecret = "";
        public static string chartsEmbed = "";
        public static int refreshSecDelay = 90;

        // pin to push 3.3v gpio pin out
        public static int pinAlwaysOn = 5;
        // pee, poo, milk, formula gpio input pins
        public static int[] pinList = new int[] { 6, 13, 19, 26 };
    }
}