Skip to content

Commit fc8fa99

Browse files
committed
debug info
1 parent 48d1b3c commit fc8fa99

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

libraries/Bluefruit52Lib/examples/Peripheral/image_upload/image_upload.ino

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ void loop()
133133
if ( !bleuart.notifyEnabled() ) return;
134134
if ( !bleuart.available() ) return;
135135

136-
PRINT_INT(bleuart.available());
136+
//PRINT_INT(bleuart.available());
137137

138138
// all pixel data is received
139139
if ( rxCount == 1 + 5 + imageWidth*imageHeight*3 )
@@ -156,6 +156,9 @@ void loop()
156156
if ( pixelNum )
157157
{
158158
PRINT_INT(pixelNum);
159+
PRINT_INT(imageX);
160+
PRINT_INT(imageY);
161+
159162
for ( uint16_t i=0; i < pixelNum; i++)
160163
{
161164
uint8_t red = bleuart.read();

0 commit comments

Comments
 (0)