From 9f938ab8ba5af561bd44dbc7142f338ce317a01a Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Sat, 1 Nov 2025 09:46:52 +0800 Subject: Etlas project. --- esp32/main/stock.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 esp32/main/stock.h (limited to 'esp32/main/stock.h') diff --git a/esp32/main/stock.h b/esp32/main/stock.h new file mode 100644 index 0000000..0e2d56e --- /dev/null +++ b/esp32/main/stock.h @@ -0,0 +1,18 @@ +#ifndef STOCK_H +#define STOCK_H + +#define TICKER_LEN 25 + +struct stock_data { + char ticker[TICKER_LEN]; + int *prices; + int price_min; + int price_max; + int price_ref; + int prices_len; + int prices_maxlen; +}; + +void stock_get_data(struct stock_data *sd); + +#endif /* STOCK_H */ -- cgit v1.2.3