//PIC Stuff/Cerebot_32MX7_LED_Cube/Ethernet API/cube.py |
---|
86,6 → 86,7 |
txData = ''.join( ["%02x" % (x) for x in frame_buffer[c::3]]) |
payload = txFrame + txOpcode + txColorCh.decode('hex') + txData.decode('hex') |
sock.send(payload) |
time.sleep(0.01) # This value can be smaller (and should be) to reduce flickering |
def cube_update_text_scrolling(string, r, g, b, update_rate): |
'''Sets the scrolling text on the cube.''' |
//PIC Stuff/Cerebot_32MX7_LED_Cube/defines.h |
---|
8,8 → 8,8 |
#include <stdint.h> |
// Uncomment ONE of the following: |
//#define CEREBOT_32MX7 |
#define CEREBOT_MX7CK |
#define CEREBOT_32MX7 |
// #define CEREBOT_MX7CK |
#define CPU_CLOCK_HZ 80000000UL |
#define PERIPHERAL_CLOCK_HZ 80000000UL |
//PIC Stuff/Cerebot_32MX7_LED_Cube/nbproject/Makefile-genesis.properties |
---|
1,5 → 1,5 |
# |
#Tue Mar 18 21:04:27 EDT 2014 |
#Tue Mar 25 18:15:21 EDT 2014 |
default.com-microchip-mplab-nbide-toolchainXC32-XC32LanguageToolchain.md5=83f4565fa27ad9b8015f63d69ef74f66 |
default.languagetoolchain.dir=C\:\\Program Files (x86)\\Microchip\\xc32\\v1.31\\bin |
com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=1f98a0eed69cb2a45c12981fa9470927 |