Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of MAX72XX by
Diff: MAX72XX.h
- Revision:
- 3:2bcf4c5b47d4
- Parent:
- 2:8662e8d7d8fa
--- a/MAX72XX.h Mon Aug 04 12:11:51 2014 +0000 +++ b/MAX72XX.h Wed Aug 06 03:14:28 2014 +0000 @@ -1,10 +1,10 @@ /***************************************************************************** * Type : Header * File : MAX72XX.h - * Dec. : MAX7219 & MAX7221 Software SPI library + * Dec. : MAX7219 & MAX7221 Software SPI library [7 SEGMENT] * Copyright (c) 2013-2014, Bird Techstep, tbird_th@hotmail.com * - * Remark Original codr from LedControl Library [Arduino] + * Remark : Original codr from LedControl Library [Arduino] * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -27,6 +27,8 @@ #ifndef MAX72XX_H #define MAX72XX_H +#include "mbed.h" + // Segments to be switched on for characters and digits on 7-Segment Displays const static char charTable[128] = { 0x7E, 0x30, 0x6D, 0x79, 0x33, 0x5B, 0x5F, 0x70, // 0, 1, 2, 3, 4, 5, 6, 7,